-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: usePrefetchQuery #7582
Merged
Merged
feat: usePrefetchQuery #7582
+656
−33
Commits on Jun 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d2af3f - Browse repository at this point
Copy the full SHA 2d2af3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0b353d - Browse repository at this point
Copy the full SHA e0b353dView commit details -
refactor: remove ensureInfiniteQueryData function
will do in a separate PR
Configuration menu - View commit details
-
Copy full SHA for 5bda18f - Browse repository at this point
Copy the full SHA 5bda18fView commit details
Commits on Jun 19, 2024
-
chore: add tests for usePrefetchQuery and usePrefetchInfiniteQuery (#…
…7586) * chore: add tests for usePrefetchQuery and usePrefetchInfiniteQuery * chore: update tests to assert the alternative spy is not called * chore: add some new tests * chore: remove it.only whoops * chore: call mockClear after fetching * chore: improve waterfall test by asserting fallback calls instead of loading node query * chore: improve code repetition * chore: add some generics to helper functions
Configuration menu - View commit details
-
Copy full SHA for 0cc8a26 - Browse repository at this point
Copy the full SHA 0cc8a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 348cc7a - Browse repository at this point
Copy the full SHA 348cc7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6010477 - Browse repository at this point
Copy the full SHA 6010477View commit details -
usePrefetchQuery type tests and docs (#7592)
* chore: add type tests and docs * chore: update hooks to use FetchQueryOptions and FetchInfiniteQueryOptions * chore: update tests * chore: update docs * chore: remove .md extension from link * chore: add unknown default value to TQueryFnData * Apply suggestions from code review --------- Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Configuration menu - View commit details
-
Copy full SHA for b5ef74d - Browse repository at this point
Copy the full SHA b5ef74dView commit details
Commits on Jun 24, 2024
-
Apply suggestions from code review
Co-authored-by: Fredrik Höglund <fredrik.hoglund@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 661f127 - Browse repository at this point
Copy the full SHA 661f127View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88d41a8 - Browse repository at this point
Copy the full SHA 88d41a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fee342 - Browse repository at this point
Copy the full SHA 5fee342View commit details
Commits on Jun 25, 2024
-
* chore: add new tests * Apply suggestions from code review --------- Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Configuration menu - View commit details
-
Copy full SHA for fe50ffc - Browse repository at this point
Copy the full SHA fe50ffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd7cc03 - Browse repository at this point
Copy the full SHA dd7cc03View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.