query
query copied to clipboard
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
As discussed [here](https://github.com/TanStack/query/discussions/3715) and [here](https://github.com/TanStack/query/discussions/3690), this allows the provision of a function as the `structuralSharing` value, which effectively acts as a replacement for `replaceEqualDeep`. This way, consumers can still achieve...
### Describe the bug When changing the query key, react-query re-renders the component two times with the exact same states ### Your minimal, reproducible example v4: https://codesandbox.io/s/react-query-re-renders-t2z4u8, v3: https://codesandbox.io/s/react-query-re-renders-v3-cfo8y4 ###...
### Describe the bug The type `QueryClientConfig` is missing type args. It is currently defined as ```ts export interface QueryClientConfig { queryCache?: QueryCache; mutationCache?: MutationCache; defaultOptions?: DefaultOptions; } ``` and...
### Describe the bug Devtools are not working on React Native Web anymore. In v3, it used to work. ### Your minimal, reproducible example https://github.com/TanStack/query/tree/main/examples/react/react-native example ### Steps to reproduce...
we had it in v4 beta, but it went away with the rebranding. prior art: - https://github.com/TanStack/query/pull/3521 there were some useSyncExternalStore issues reported after that, which prompted another fix: -...
fix reference link
Fixes #3681 Reverts the change in #2949 from function `handleEntry` to component `HandleEntry`, but keeps the added types. I'm not actually sure why that fixes the un-expanding, but it does.
**Describe the bug** I'm trying broadcastQueryClient feature to make the cache persist across tabs. When opening a new tab, the server endpoint is called, while react-query should prevent this and...
### Describe the bug App uses broadcastQueryClient utility, components that use the same query lose their query state after opening a new window that triggers the same query. Adding some...
When my query function throws an error, the devtools displays it as an empty object. I would expect it to display the `message` and maybe `stack` string properties that the...