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

fix(persistQueryClient): rename isHydrating to isRestoring (#3512)

* fix(devtools): devtools should not import relatively from react-query

* fix(hydration): properly remove unused hydration entry point

hydration moved to the core, and the build entry point was already removed for v4. this is just a proper cleanup.

* fix(persistQueryClient): rename isHydrating to isRestoring

as we currently have no plans to re-use this for useHydrate, it would be confusing to not get true for this value in those cases

* fix(persistQueryClient): document useIsRestoring

* fix: make QueryErrorResetBoundary value stable

we want a constant value for the lifetime of the QueryErrorResetBoundary component; useMemo doesn't guarantee that.

* chore: remove resolutions from package.json

as discussed here: https://github.com/tannerlinsley/react-query/pull/2688#discussion_r851847721

* fix: log message

we don't have a queryKey at this point if a string was used due to how the overloads try to spread things

* Update docs/src/pages/plugins/persistQueryClient.md
D
Dominik Dorfmeister committed
9e23e7a4afaafb4ad7985108a8adfb1f93557a37
Parent: a8ddd9b
Committed by GitHub <noreply@github.com> on 4/21/2022, 6:28:27 PM