SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

0 0 0 TypeScript

feat(core): add client to queryFunctionContext (#8599)

* feat: add queryClient to queryFunctionContext

* fix: remove queryClient exception

closing over a queryClient should now error, as we pass the queryClient directly to the queryFunctionContext

* fix: persister

* refactor: keep private reference to cache

* chore: fix tests

* docs: QueryFunctionContext

* refactor: derive from private member

* refactor: name it `client`

* refactor: let's go with client

* chore: try skipping the cache

* chore: re-enable caching

and try to bust it by changing sharedGlobals lol
D
Dominik Dorfmeister committed
f86eb7e099af48b9b9ee0412431180fe90148c8a
Parent: a507400
Committed by GitHub <noreply@github.com> on 1/31/2025, 9:02:56 AM