Skip to content

Feature/disable context sharing #1912

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

Merged
merged 5 commits into from
Mar 8, 2021
Merged

Feature/disable context sharing #1912

merged 5 commits into from
Mar 8, 2021

Conversation

TkDodo
Copy link
Collaborator

@TkDodo TkDodo commented Mar 5, 2021

as discussed in #1764, this PR disables context sharing per default, and allows to enable it via a contextSharing: boolean prop on the QueryClientProvider.

I also tried to document it, mainly using the comment @tannerlinsley wrote in the code 😁

@vercel
Copy link

vercel bot commented Mar 5, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/3Z6gRW7VCE9EoY4486Yv7jHA7e2C
✅ Preview: https://react-query-git-fork-tkdodo-feature-disable-context-s-e48509.vercel.app

@TkDodo
Copy link
Collaborator Author

TkDodo commented Mar 5, 2021

since this feature wasn't really documented anywhere, I think we could ship this as a minor version.

@TkDodo TkDodo merged commit fc14250 into TanStack:master Mar 8, 2021
@TkDodo TkDodo deleted the feature/disable-context-sharing branch March 8, 2021 08:05
@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 3.12.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants