Cache Helper Methods

Live test of prepend, append, insert, remove, update, snapshot and reset from hooks and useQueryClient.

useQueries (parallel)

Fetches both getTodos and getPosts in parallel. Todos has refetchOnWindowFocus enabled.

getTodos

0 items

idle·fetched: false

getPosts

0 items

idle·fetched: false

useInfiniteQuery helpers

0 items

Empty

All pages loaded

usePaginatedQuery helpers

0 items

Empty

All pages loaded

useQueryClient() direct helpers

These operate directly on the cache — mutations are reflected in the sections above.