Tags: DiederikvandenB/react-query
Tags
fix(useQuery): type of initialData now corresponds to the type return… …ed by the query-fn (TanStack#2069)
fix(useQuery): let type of queryKey for the QueryContext be inferred … …from the key passed to useQuery (TanStack#2047) * fix(useQuery): let type of queryKey for the QueryContext be inferred from the key passed to useQuery * fix(useInfiniteQuery): let type of queryKey for the QueryContext be inferred from the key passed to useInfiniteQuery * fix(useQuery): pass TQueryKey down to queryObserver for more type safety and to make queryKeyHashFn generic as well
fix(types): onlineManager: setup function needs to accept the online … …boolean, and the cleanup function shouldn't (TanStack#2053) * fix(types): setup function needs to accept the online boolean, and the cleanup function shouldn't * fix(types): assign listener to a function so that we can properly unsubscribe
fix(devtools): only subscribe to the queryCache while the devtools ar… …e open (TanStack#2045) this will stop unnecessary and sometimes costly updates while they are closed
feat: add useIsMutating hook (TanStack#1971) * feat: add find/findAll functions to mutationCache, add useIsMutating hook * docs: add useIsMutating reference * fix import cycle * use mutationCache in useIsMutating * add useIsMutating test and document MutationFilters * fix broken links
fix(queryObserver): re-run selector if it throws error (TanStack#1875)
fix: Do not default to `false` on `refetchInactive` (TanStack#1934) Co-authored-by: Manuel J. Thomsen <mjt@magnetix.dk>
PreviousNext