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 113 TypeScript

feat(queryCache): cache data on the server if the cache is manually created

This change is done so we can improve support for server side rendering in the future.
* Caches created with makeQueryCache on the server now cache data
* Add options object to makeQueryCache and move defaultConfig-option into that
* Add more server guards for scheduleStale and scheduleGarbage
* Add more SSR-tests

BREAKING CHANGE: Caches created with makeQueryCache will now cache data on the server.
F
Fredrik Höglund committed
36549636f663fb885c2c0219ac67bbf017dff934
Parent: a34102f