-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(queryObserver): add isInitialLoading derived flag #4244
Conversation
this flag describes isLoading && isFetching and can be used to show a loading spinner for lazy or disabled queries
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b53b413:
|
Codecov ReportBase: 96.36% // Head: 96.46% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #4244 +/- ##
==========================================
+ Coverage 96.36% 96.46% +0.10%
==========================================
Files 45 73 +28
Lines 2281 2972 +691
Branches 640 818 +178
==========================================
+ Hits 2198 2867 +669
- Misses 80 103 +23
+ Partials 3 2 -1 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
apparently, v3 has a fix: actions/setup-node#543
as described here: https://stackoverflow.com/questions/52015748/npm-failed-to-replace-env-in-config-npm-token he extra warn output made the caching fail
this flag describes isLoading && isFetching and can be used to show a loading spinner for lazy or disabled queries
refs #3584
refs #3975