This repository is focused on React Query
React Query 4.0 (TanStack Query)
- Imports:
@tanstack/react-query
instead ofreact-query
- Query keys are now arrays instead of strings
- devtools are now installed separately and imported from
@tanstack/react-query-devtools
- setLogger was removed. Logger is now aded as a QueryClient option
- onSuccess is no longer called from setQueryData