Pull Requests
#3006
2927 offline queries
#3673
fix(persist): introduce in-house synchronous Storage interface
#3672
fix(persist): introduce in-house synchronous Storage interface
#3669
fix: `replaceDeepEqual` special case for non-plain arrays
#3666
fix(types): remove non-void constraint from queryFn result
#3663
Don’t say suspense mode is experimental any more
#3658
fix(persist): remove environment check
#3657
fix(types): make sure queryClient.setQueryData can return undefined from the updater
#3656
fix: useSyncExternalStore re-export
#3654
fix(*): change types
#3643
fix: make sure isDataEqual option is respected everywhere where we use structuralSharing
#3636
Update method query observer base result
#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
Build Activity
#192640
Merge remote-tracking branch 'react-query/v4' into 2927-offline-queries
# Conflicts:
# src/core/retryer.ts
#192459
Merge remote-tracking branch 'react-query/v4' into 2927-offline-queries
#192454
Merge remote-tracking branch 'react-query/v4' into 2927-offline-queries
# Conflicts:
# src/core/queriesObserver.ts
# src/reactjs/useQueries.ts
#192315
feat(useQuery): offline queries
network mode docs
#192301
feat(useQuery): offline queries
network mode docs (unfinished)
#192251
feat(useQuery): offline queries
offline mutations test
#192238
feat(useQuery): offline queries
add devtools test for offline mock
#191888
feat(useQuery): offline queries
use a higher retryDelay to make test more stable, otherwise, it might start retrying before we "go offline"
#191883
feat(useQuery): offline queries
mock useMediaQuery to get rid of unnecessary check in devtools - if window is defined, `matchMedia` is also defined
#191872
feat(useQuery): offline queries
offlineFirst test
#191142
feat(useQuery): offline queries
add test for abort signal consumed - different results expected for node < 15 where we don't have AbortController, thus can't consume the signal
#190799
Merge remote-tracking branch 'react-query/v4' into 2927-offline-queries
# Conflicts:
# src/core/query.ts
#190697
feat(useQuery): offline queries
fix merge conflict and invert condition because no-negated-condition
#190696
Merge remote-tracking branch 'react-query/v4' into 2927-offline-queries
# Conflicts:
# src/core/query.ts
#190675
feat(useQuery): offline queries
let resolved querie continue, but don't put them in fetching state
#190661
feat(useQuery): offline queries
avoid the impossible state by not calling config.onContinue for already resolved queries, as that would put them right into fetching state again, without actually fetching
#190651
feat(useQuery): offline queries
inline canContinue, because it's now only called if the query is in paused state anyways
#190553
Merge remote-tracking branch 'react-query/v4' into 2927-offline-queries
# Conflicts:
# src/core/retryer.ts
#190540
feat(useQuery): offline queries
make networkMode param mandatory for canFetch (and default to online internally) so that we can't screw that up again
#190496
feat(useQuery): offline queries
stupid mistake
#190494
feat(useQuery): offline queries
make sure that optimistic results don't show an intermediate fetching state, but go opmistically to paused instead
#190487
feat(useQuery): offline queries
show inactive as higher priority than paused
#190484
feat(useQuery): offline queries
keep the do-not-start logic out of the run function, and thus out of promiseOrValue. if the promise has already been resolved in the meantime, e.g. because of a `cancel`, the run method will just do nothing, while the p...
#190483
Revert "feat(useQuery): offline queries"
This reverts commit a647f64a051ca4c02a872e7871b4b2ce49aeda2c.
#190450
feat(useQuery): offline queries
guard against illegal state transitions: paused queries can unmount or get cancelled, in which case we shouldn't continue them, even if we dispatch the continue event
#190439
feat(useQuery): offline queries
i messed up the icon order
#190435
feat(useQuery): offline queries
different icons, padding, color
#190430
feat(useQuery): offline queries
attempt at offline toggle button
#190402
feat(useQuery): offline queries
okay, pausing multiple times was a bad idea, continueFn() will be called eventually anyways
#190396
feat(useQuery): offline queries
never stop pausing when continueFn is called. Initially, I only had this guard for when it's called from the outside, e.g. for onWindowFocus while still being offline, but we need this always because otherwise query can...
#190373
add paused queries to the devtools.tsx
#190366
feat(useQuery): offline queries
fix tests that were influencing each other by using proper jest mocks for online and visibility state
#190363
feat(useQuery): offline queries
tests for networkMode: always
tannerlinsley/react-query #192640
Loading Sandboxes...
Loading Packages...
Loading Install Instructions...
Finished!