0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

5,040 commits

Author SHA1 Message Date
Muhammad Al-jefry
10f3d7b8ab
docs: Update persistQueryClient link (#2700) 2021-09-22 21:21:51 +02:00
Muhammad Al-jefry
702bafcf8f
docs: Update persistQueryClient link (#2699) 2021-09-22 21:21:37 +02:00
Richard Lopes
4115417e3e
fix(core): add index.js files to sideEffects (#2703) v3.24.4 2021-09-22 20:40:24 +02:00
Damian Osipiuk
2544f07967
fix(persistQueryClient): import hydration utils from core in persistQueryClient (#2684) v3.24.3 2021-09-19 19:35:25 +02:00
pawlarius
4f8f1c8bae
docs: Add side effect from using setQueryData (#2691) 2021-09-19 16:34:04 +02:00
Dominik Dorfmeister
1beedf9516
fix(core): make sure erroneous queries refetch when query keys change (#2686) v3.24.2 2021-09-19 08:11:34 +02:00
Dominik Dorfmeister
7aadd6896d
fix(types): exclude queryKey / queryFn from options if they have been provided as a separate argument (#2689) v3.24.1 2021-09-18 23:02:36 +02:00
Prateek Surana
9edbd6790e
refactor(devtools): Add types for devtools (#2688) 2021-09-18 23:01:56 +02:00
Dominik Dorfmeister
1896ca27ab
feat: add isRefetching flag (#2469) v3.24.0 2021-09-18 19:34:02 +02:00
Dominik Dorfmeister
873647e124
fix(types): fix generics for refetchPage function (#2638) 2021-09-18 19:31:33 +02:00
Dominik Dorfmeister
16e70e1fb9
fix(devtools): do not show disabled label for inactive queries and make statusColor match statusLabel (#2687) 2021-09-18 19:30:45 +02:00
Andrew Bazhanov
b88cda4105
docs: use hydration utilities from core (#2643) 2021-09-15 10:22:14 +02:00
Dominik Dorfmeister
058977ae61
docs: Add React Query Error Handling to the community resources (#2665) 2021-09-11 17:36:53 +02:00
Elliot Hesp
368959fce4
docs: update testing example to check data (#2664) 2021-09-11 15:23:37 +02:00
Raouf
c956f1af93
fix(UseMutationResult): MutationState type allows type narrowing to match useQuery (#2620) v3.23.2 2021-09-09 16:14:56 +02:00
Tanvesh Sarve
0ec2a495e2
docs: fix markdown styles of links (#2642) v3.23.1 2021-09-08 20:21:19 +02:00
Torleif Berger
eeecd1c3fd
fix(devtools): Remove id attributes from SVGs (#2653) 2021-09-08 20:18:54 +02:00
Daniel Friesen
ee7ca0bf1e
feat: Allow handling some errors locally while using error boundaries (#2619) v3.23.0 2021-09-08 10:39:20 +02:00
Damian Osipiuk
19861272f5
feat(hydration): move hydration utilities to core, keeping old exports (#2497) v3.22.0 2021-09-07 07:11:30 +02:00
Tanner Linsley
21f7b89e91 Update comparison.md 2021-08-31 13:08:26 -06:00
SaintMalik
1427b1e808
docs: fix typos (#2618) 2021-08-31 07:16:47 +02:00
Dominik Dorfmeister
0c84afed46
docs: add tkdodo's blog to the docs (#2616) 2021-08-29 22:38:42 +02:00
Jonathan Verrecchia
b46c646738
fix(devtools): do not render DevTools during SSR (#2615) v3.21.1 2021-08-29 17:42:56 +02:00
Jack Lawrence-Jones
640590cb55
docs: Add link to 3rd party React Native devtools (#2610) 2021-08-29 07:54:00 +02:00
Dominik Dorfmeister
afcba6066d
feat(devtools): show disabled badge for a query if all observers are disabled (#2592) v3.21.0 2021-08-20 19:36:04 +02:00
Dominik Dorfmeister
f9b23fcae9
feat(infiniteQuery): add possibility to decide which pages should be refetched (#2557) v3.20.0 2021-08-20 16:19:14 +02:00
Eliran Levi
3dac094b3a
docs: Update QueriesObserver.md (#2585) 2021-08-19 09:17:12 +02:00
Ivan Tanev
3838db750a
docs: Add a note on suppressing console errors in tests (#2567) 2021-08-12 13:03:30 +02:00
Jbee
bac853fb3c
fix(core): change shouldFetchOptionally function to account for query key changes (#2565) v3.19.6 2021-08-12 09:51:54 +02:00
Jbee
69f1eafca0
fix(core): change shouldFetchOptionally condition (#2556) v3.19.5 2021-08-11 22:52:57 +02:00
Dominik Dorfmeister
6bbb3710e5
fix(useQueries): make sure keepPreviousData is respected (#2340) v3.19.4 2021-08-10 11:33:11 +02:00
Dominik Dorfmeister
418c48f611
fix(useQuery): apply placeholderData also to disabled queries (#2541) v3.19.3 2021-08-10 11:00:34 +02:00
Dimitri Reifschneider
b5c15c9636
style(queriesObserver): Renames to prevObserversMap (#2551) 2021-08-09 22:28:01 +02:00
Rene Dellefont
76e314d088
feat (QueryClient): getQueriesData for matching multiple queries (#2513) v3.19.2 2021-08-05 13:45:47 +02:00
Dominik Dorfmeister
9ab60ace21
fix: add overloads to useIsMutating (#2451) 2021-08-05 13:45:28 +02:00
Dorell James
60eb97425f
docs: Fixes axios example for cancelling request (#2504) 2021-07-28 09:08:26 +02:00
Hien Truong
b95b86567d
fix(MutationOptions): improve the type of onMutate (#2494) v3.19.1
set the return type of onMutate as Promise<TContext | undefined> instead of Promise<TContext> | Promise<undefined> to make it work with async functions
2021-07-25 21:08:31 +02:00
Niall
51a226ec1f
docs: Very minor grammar updates. (#2485) 2021-07-23 13:40:27 +02:00
Drew Baumann
d9467ff13f
docs: Update isError to error (#2483) 2021-07-23 13:39:54 +02:00
Peter Lim
3fe2b4af43
docs: fix typo (#2480) 2021-07-23 13:38:13 +02:00
Prateek Surana
4b1e7114ae
test(devtools): Add base tests for react-query devtools (#2433)
* test: Add base setup for devtools tests

Add the basic test for opening and closing devtools

* (test): ✅   Add tests for query states

* ✅   Add test for filtering and opening query details

* ✅   Add sorting tests

* ✅  Add test for sorting order

* 🚨   Fix linter warnings

* ♻️  Code review updates

* 🚨   Fix linter warnings
2021-07-16 19:29:37 +02:00
Dominik Dorfmeister
e6da990703
feat(queryCache): add global onSuccess callback (#2404) v3.19.0 2021-07-16 12:55:54 +02:00
Bruno Castro
475eb4123a
fix: rename asyncStoragePersistor to createAsyncStoragePersistor (#2421) 2021-07-16 10:55:39 +02:00
Mauricio Soares
caf841ae93
docs: Update testing with disabled retries (#2460) 2021-07-16 10:54:35 +02:00
Julio Maniratunga
9a73573639
docs: remove unnecessary apostrophe (#2464) 2021-07-16 10:52:44 +02:00
Tanner Linsley
aafd2ccab2 Update logo.sketch 2021-07-12 09:59:22 -06:00
Paul Fitzgerald
16b7d290c7
docs: Update important-defaults.md (#2413) 2021-06-29 15:48:02 +02:00
Dony Sukardi
e5ba8bb77e
fix: update matchQuery logic to cater for all permutations (#2275) v3.18.1 2021-06-28 13:18:39 +02:00
Dominik Dorfmeister
cf09241fc6
docs: update asyncStoragePersistor docs to match the current api (#2411) 2021-06-28 10:47:40 +02:00
Aung Myint Thein
7a628d6497
feat: asyncStoragePersistor for React Native (#2360) v3.18.0 2021-06-28 09:19:11 +02:00