You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix (QueryClient): disable context sharing per default (#1912)
* fix (QueryClient): disable context sharing per default
but still allow for it by adding a `contextSharing` boolean prop when creating the QueryClient context
* document the contextSharing prop
- Set this to `true` to enable context sharing, which will share the first and at least one instance of the context across the window to ensure that if React Query is used across different bundles or microfrontends they will all use the same **instance** of context, regardless of module scoping.
0 commit comments