Closed sannajammeh closed 9 months ago
Latest commit: 5b020a2a9d01e86d125eee33192f025ce7e35462
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
What:
@trpc-swr/ssr
-createProxySSGHelpers
renamed tocreateSSRHelpers
@trpc-swr/ssr
- Callingapi.endpoint.fetch
is no longer support, use api.endpoint() directly. trpc-swr will now proxy all arguments directly into appRouter.createCaller() instead of callingcaller.query
. This allows for both mutations and queries to endpoints in React Server Components and other SSR callsBefore
After
As always both direct access and dehydration into SWR serializable fallback is supported.