This repository was archived by the owner on Jan 2, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add react-query to devDependencies and bump to latest beta * replaced useQueryCache with useQueryClient and extracted the queryCache from the queryClient I also removed the fallback because with v3, you always need to wrap your app in a QueryClientProvider * updatedAt was renamed to dataUpdatedAt in v3 * queryCache.subscribe passes a query, not a queryCache but we don't really care about the argument because we have the queryCache in the closure * remove the activeQuery directly from the queryCache BREAKING CHANGE: Uses the new React Query v3 API
- Loading branch information
Showing
3 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters