-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Streaming with Server Components docs to reflect correct usage #7725
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 84c014c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
Run & review this pull request in StackBlitz Codeflow. commit: @tanstack/angular-query-devtools-experimental
@tanstack/angular-query-experimental
@tanstack/eslint-plugin-query
@tanstack/query-async-storage-persister
@tanstack/query-broadcast-client-experimental
@tanstack/query-core
@tanstack/query-devtools
@tanstack/query-persist-client-core
@tanstack/query-sync-storage-persister
@tanstack/react-query
@tanstack/react-query-devtools
@tanstack/react-query-next-experimental
@tanstack/react-query-persist-client
@tanstack/solid-query
@tanstack/solid-query-devtools
@tanstack/solid-query-persist-client
@tanstack/svelte-query
@tanstack/svelte-query-devtools
@tanstack/svelte-query-persist-client
@tanstack/vue-query
@tanstack/vue-query-devtools
templates
|
please fix formatting |
Sorry about that, I've run prettier so the formatting should be all good now |
Streaming with Server Components has a minor issue with its usage example.
getQueryClient
function from thegloabal/providers.tsx
file to its own file.new QueryClient()
withgetQueryClient()
to make use of the client with serialize and deserialize.The code block prior (
app/get-query-client.ts
) is used to addserialize
anddeserialize
, I imagine the intent was to use that query client in the server component.