-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(use-data-query): enable swr by default
BREAKING CHANGE: loading will only be set to true when fetching and if there is no data. If there is data, loading will be false during fetching. This means that stale data will be shown during fetches by default. If you'd like to opt out of showing stale data during loading you can use the new `fetching` attribute that is now returned by the useDataQuery hook instead.
- Loading branch information
ismay
committed
Sep 7, 2021
1 parent
a1a1f54
commit 76cb34a
Showing
3 changed files
with
19 additions
and
12 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