Pull Requests
#2866
fix(useQueries): search for unused observers if keepPreviousData (#2680)
#3635
Dates should compare properly
#3625
Properly type useInfiniteQuery to respect the select result
#3620
fix typo doc
#3619
MMMikeM fix suspense example
#3615
fix(queryClient): make sure that setQueryData can return undefined from the updater function on type level
#3614
chore: bump uSES to 1.1.0
#3613
fix(query): updating with setQueryData should not affect fetchStatus
#3601
fix: uSES import for react-native / esm
#3600
Add QueryFunctionContext object properties
#3599
Update useQueries.md
#3585
fix: set isLoading false if query is disabled
#3578
fix: move usage of React Context out of core package
#3577
feat(devtools): update react query logo to close devtools
#3574
docs: Remove react-native-appstate-hook
#3571
feat: make InfiniteQueryObserver's type more robust
#3561
Use fully-specified path to import use-sync-external-store/shim
#3557
Keep data in useQuery result defined when initialData is defined
#3556
Feature/persist error handling
#3554
fix: cache select errors
#3549
Deduplicate packages in yarn.lock
#3547
useQuery.test for errorUpdateCount
#3545
Error update count test
#3544
fix(devtools): Fix expand button styling
#3543
fix(docs): async/await syntax
#3541
fix: type issue when Promise<void> is returned
#3532
Exposing errorUpdateCount on useQuery
#3529
feat(types): make QueryClientConfig generic
#3523
FailureCount resest,
#3521
ESM compliant bundling
#3520
feat(react): add support for react18
#3518
feat(query): functions for refetchOn options
#3515
Fix typo on homepage
#3512
fix(persistQueryClient): rename isHydrating to isRestoring
#3509
fix: type QueryClientProvider children explicitly
#3507
fix(infiniteQuery): do not consume AbortSignal unless user has consumed it
#3506
nonce for devtools style
#3498
docs: provide a fully-working example for the quick start docs
#3497
fix(devtools): QueryKey height
#3496
docs: add a link to the v4 beta doc
#3493
fix(types): fix promise inference in useQueries
#3490
fix: React implicit children type
#3489
chore: setup type-coverage
#3486
Update Learn link and sidebar
#3482
fix(types): use react 18 types
#3481
fix: 🐛 make types @types/react@18 compatible
#3480
fix: 🐛 make types @types/react@18 compatible
#3479
fix: Add explicit PropsWithChildren to resolve React 18 typedef chang…
#3478
Update links to course landing page
#3468
fix: change devtools env condition
#3466
docs(examples): update examples to use react18
Build Activity
#190481
Add test for infinite render loops when toggling queries
#189434
Replace array type guard with flatmap
This way no extra utils need to be added.
#188028
Refactor to findMatchingObservers
This removes extra calls to setOptions from getOptimisticResult,
and gets rid of extra renders in tests.
setOptions is now explicitly only called in updateObservers.
#188027
Refactor to findMatchingObservers
This removes extra calls to setOptions from getOptimisticResult,
and gets rid of extra renders in tests.
setOptions is now explicitly only called in updateObservers.
#187282
Switched to non-null assertion for consistency
#187185
Support undefined queryKeys in getUpdatedObservers
You apparently can skip giving a queryKey, when given via options.
It will also work, somewhat. All falsy queryKeys will match the same observer,
so if you only have a single query with undefined key...
#186060
Fix namings and formatting
#184176
fix(useQueries): search for unused observers if keepPreviousData is on (#2680)
When keepPreviousData is on, search for a query observer no longer used
instead of relying on observer order and indexing.
Trying to match observers by index could cause in...
tannerlinsley/react-query #190481
Loading Sandboxes...
Loading Packages...
Loading Install Instructions...
Finished!