0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
Commit graph

5,975 commits

Author SHA1 Message Date
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
Joey Colon
ddbd755bf6
Add Uber (#2410) 2021-06-26 20:29:54 -06:00
Dominik Dorfmeister
a7780444bb
fix(useQuery): don't inform observers about CancelledErrors (#2409) v3.17.3 2021-06-26 21:42:28 +02:00
Caleb Williams
12e128bd76
docs: update query function usage examples (#2394) 2021-06-25 19:42:23 +02:00
Paul Fitzgerald
8c1bb1f434
docs: Update comparison.md (#2407) 2021-06-25 14:02:20 +02:00
Ian VanSchooten
9aed040364
fix(devtools): Hide devtools when closed, prevent focus (#2376) v3.17.2 2021-06-17 11:02:28 +02:00
Lucas Mesquita
29559b1a5e
docs: updating rtk-query links in Normalized Caching topic in the docs (#2378) 2021-06-17 10:59:19 +02:00
Luke Morales
772c6c4e12
fix: display devtools only in production (#2382) v3.17.1 2021-06-15 22:09:57 -06:00
Curtis Hughes
be6bfbb1bc
feat: session storage persistor (#2282) v3.17.0
LocalStoragePersistor is now integrated with WebStoragePersistor, which can take any `Storage`
2021-06-11 11:38:54 +02:00
Dotan Simha
98dd91f188
docs: Added graphql-codegen plugin to the docs (#2356) 2021-06-09 08:46:38 +02:00
Robert Jędrzejewski
856b144e35
docs(mutations): Update mutations page side effects section (#2354) 2021-06-08 11:32:23 +02:00
Tunmise Ogunniyi
f00de49fb7
docs: Update paginated-queries.md (#2345) 2021-06-07 07:58:37 +02:00
Lenz Weber
7a1382f00c
docs: Update RTK-Query information in comparison.md (#2348) 2021-06-07 07:57:45 +02:00
Dominik Dorfmeister
a5b2216be6
refactor: use react-state for one-time initialization over instance refs (#2253) 2021-06-05 12:23:00 +02:00
Prateek Surana
ff830db831
fix(devtools): fix devtools crash on rejected promises on refetch (#2344) v3.16.1
Catch the error using noop when refetching the query via devtools

fixes #2014
2021-06-05 10:53:00 +02:00
Dominik Dorfmeister
2b8d2af4d1
chore: turn on noUncheckedIndexedAccess compiler flag (#2341) 2021-06-05 10:51:46 +02:00