Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
@trpc/client
@trpc/next
@trpc/openapi
@trpc/react-query
@trpc/server
@trpc/tanstack-react-query
@trpc/upgrade
commit: |
ec24584 to
4ce0234
Compare
4ce0234 to
80ce027
Compare
80ce027 to
b75f2df
Compare
The greeting query switches on its status instead of reading isPending/isError. Co-authored-by: alexander <[email protected]>
fdadc36 to
5a8990e
Compare
b75f2df to
9fcac56
Compare
|
Closing: the examples UI refresh is limited to examples with a Vercel deployment, and minimal-react has none. |
|
This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Why
minimal-reactthe website's shared UI (@shared/uiintooling/ui, from feat(www): port the v12 website onto main, with v11 content #7771) and tRPC branding.What
minimal-reactclient:"@shared/ui": "workspace:*"and imports@shared/ui/components/{card,alert,skeleton}directly. Nothing is vendored.greetingresult in a Card, with a Skeleton while loading and an Alert on error.greetingQuery.status. It doesn't readisPendingorisError.@tailwindcss/vite.styles.cssimports@shared/ui/theme.cssand@sources only the three components it uses. CSS is 18.7 kB (4.5 kB gzipped).catalog:www. tRPC usage and the smoke test are unchanged.theme.cssintoclient/src/shared-ui/. It rewrites the imports and the@source, and adds their npm dependencies.Links
minimal-reacthas no Vercel preview. Changed files:status@sourceAlternatives considered
useSuspenseQuerywith Suspense and an error boundary. It would need an error-boundary component or a new dependency. One query reads more simply as aswitchonstatus.@shared/ui/globals.css. It scans every shared component, which makes the CSS about 230 kB instead of 19 kB.Testing
pnpm test-dev(Playwright smoke) passes, and so do the clientbuild(includestsc) andlint.pnpm --filter @tooling/subtree standalone examples/minimal-react /tmp/sa/minimal-react.npm install,npm run buildandnpm run test-startpass.Need help on this PR? Tag
@codesmith-botwith what you need.