Skip to content

docs: not using useState in creating queryClient when use ReactQueryStreamedHydration - #7431

Merged
TkDodo merged 1 commit into
TanStack:mainfrom
poiu694:react-query-streamed-hydration-example
May 15, 2024
Merged

docs: not using useState in creating queryClient when use ReactQueryStreamedHydration#7431
TkDodo merged 1 commit into
TanStack:mainfrom
poiu694:react-query-streamed-hydration-example

Conversation

@poiu694

@poiu694 poiu694 commented May 15, 2024

Copy link
Copy Markdown
Contributor

This PR addresses an issue identified in PR #6753, where the queryClient does not behave as expected when used with useState.

the examples were modified, but the changes did not affect the suspense examples. This PR specifically updates the suspense examples to ensure they work correctly with the queryClient.

@vercel

vercel Bot commented May 15, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
query ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 9:15am

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 15, 2024
@poiu694
poiu694 force-pushed the react-query-streamed-hydration-example branch from dece735 to 1fa3d8f Compare May 15, 2024 09:15
@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1fa3d8f:

Sandbox Source
@tanstack/query-example-angular-basic Configuration
@tanstack/query-example-react-basic-typescript Configuration
@tanstack/query-example-solid-basic-typescript Configuration
@tanstack/query-example-svelte-basic Configuration
@tanstack/query-example-vue-basic Configuration

@nx-cloud

nx-cloud Bot commented May 15, 2024

Copy link
Copy Markdown

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 1fa3d8f. 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 1 target

Sent with 💌 from NxCloud.

@TkDodo
TkDodo merged commit 3a9e046 into TanStack:main May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants