Eric Filion
Eric Filion
> let's keep everything as it is for the nextJs (12) docs and start a new section at the bottom of this page called `Experimental app directory in Next 13`...
Line 218: Wondering if it would be a good idea to mention that eventually 'use client' will be added to `react-query` modules or that this is still being evaluated.
Line 248: Looking only to dehydrate the queries that were prefetched in the Server Component. Could export `matchQuery` from `query-core`, but will need to make the types match, and time...
> I haven't had time yet to look at the latest changes here (soon!), but I thought I'd note that I've written a braindump discussion ["React Streaming SSR/Server Components"](https://github.com/TanStack/query/discussions/4623) that...
> Hey, thank you for answer, the issue was in the import of dehydrate like you mentioned I used autocomplete to import it and it picked the react-query version instead...
> @Ephem @efilion what would it take for us to get this from a draft PR to something that we can merge? 1. - [x] Drop dehydrate options - As...
Suspense section is very well put. Thanks for taking care of that! Thrilled to see this PR get shipped :)
https://codesandbox.io/p/github/efilion/next13-react-query/main?file=%2Fapp%2FProvider.tsx Above is a working solution for using `react-query` with NextJS 13's app directory. TanStack's documentation informed the implementation: https://tanstack.com/query/v4/docs/guides/ssr#using-other-frameworks-or-custom-ssr-frameworks. This could be a good addition to TanStack's documentation. I...
Started a discussion with TanStack at https://github.com/TanStack/query/discussions/4558.