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

5,191 commits

Author SHA1 Message Date
Tim Crowter
c98968cc84
fix: stop returning cancelledError on reset during fetch (#1660) v3.5.15
* fix: stop returning cancelledError on reset during fetch

* test: stop returning cancelledError on reset during fetch
2021-01-16 10:53:57 -07:00
Melanie Seltzer
78a1e8a37e
docs: clarify setting cacheTime for persistWithLocalStorage to work properly (#1612) v3.5.14 2021-01-15 14:44:29 -07:00
Melanie Seltzer
e3f0ad58e8
fix: suppress SSR warnings for devtools (#1613) 2021-01-15 14:44:07 -07:00
Les Szklanny
5f046151e1
fix(hydration): useMemo -> useEffect (#1643) 2021-01-15 14:43:32 -07:00
Kristóf Poduszló
e9208b2401
fix(onlineManager): listen to 'offline' events (#1656) v3.5.13
Fixes #1654
2021-01-15 14:39:47 -07:00
JungHoonPark
2de2a0dc32
docs: describe exceptional behavior of onSuccess of useMutation.mutate (#1614) 2021-01-12 09:02:28 -07:00
Alexey Lizurchik
c01634659c
docs: fix guides references (#1615) 2021-01-12 09:01:38 -07:00
Jeremy Gabriele
dd574803d8
docs: fix typo in ssr guide (#1618) 2021-01-12 09:01:16 -07:00
HYUNSOL DO
87a59b0798
docs: Fix typos in dependent-queries.md (#1624)
Fix typo from 'achive' to 'achieve'. :)
2021-01-12 03:58:51 -07:00
Stephane Mensah
dd6c61d561
docs: mention query options strictly for useQuery (#1609) v3.5.12
* docs: mention query options strictly for useQuery

This is in accordance with issues faced when trying use certain query options in `prefetchQuery` and `prefetchInfiniteQuery`. I opened a [discussion](https://github.com/tannerlinsley/react-query/discussions/1596) and was [suggested](https://github.com/tannerlinsley/react-query/discussions/1596#discussioncomment-267856) to open a PR to mention/describe the options available.

* Update QueryClient.md

* docs: fixed link to `useQuery` in `QueryClient`

made changes as suggested in https://github.com/tannerlinsley/react-query/pull/1609#discussion_r554889518
2021-01-11 10:32:39 -07:00
Dmitry Petrov
5db686809e
docs: fix type (#1617) 2021-01-10 13:36:32 -07:00
Mariano Moreno Alvariza
b0c2f67952
docs: Update testing docs to match React Query V3 (#1610)
Updated ReactQueryCacheProvider with QueryClientProvider as current testing documentation does not work when using React Query V3
2021-01-09 13:33:30 -07:00
Niek Bosch
5c93a2ec3d
fix: prevent missing renders (#1608) 2021-01-09 13:31:50 -07:00
Pierre Hedkvist
ca947a62c2
docs: Update mutations.md (#1602)
Fix spelling in mutation page
2021-01-09 13:29:47 -07:00
Akibur Rahman
41f46ade10
docs: remove unnecessary parentheses (#1592) 2021-01-09 13:25:46 -07:00
Arthur Puyou
361935a12c
docs: fix typo on Initial Query Data page (#1565) 2021-01-07 08:59:31 +01:00
Marcos Bérgamo
f0ce8336cb
docs: fix misleading code example (#1566) 2021-01-07 08:59:05 +01:00
Marcos Bérgamo
57be6e602d
docs: fix misleading code example (#1567) 2021-01-07 08:58:33 +01:00
अभिनाश (Avinash)
18091feb79
docs: onMutate should be async (#1585)
Since we await in the function body, onMutate should be an async function.
2021-01-07 08:58:01 +01:00
Eric Chernuka
6b2bb21079
docs: Fixes incorrect prop variable in Todos example (#1590)
The prop referenced `completed` But the variable used was `todoId`.
2021-01-06 21:39:47 -07:00
Tanner Linsley
b756f563cb docs: update comparison 2021-01-06 13:28:55 -07:00
Tanner Linsley
f826edf0b5 docs: update comparison 2021-01-06 13:00:44 -07:00
Tanner Linsley
73add4bc35 docs: cleanup 2021-01-05 16:43:56 -07:00
Tanner Linsley
059f5220d8 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2021-01-05 16:40:40 -07:00
Tanner Linsley
64b173ef7b docs: use page title for seo 2021-01-05 16:40:37 -07:00
Mike Lunn
6458c506ca
fix(devtools): Added type attribute to all button elements (#1581) v3.5.11
Adding type attribute tells browser what type of button it is. For most browsers the default type of button is submit. This causes a full page post back in older legacy server rendered frameworks like asp.net webfo
2021-01-05 15:51:42 -07:00
Tanner Linsley
a6c20112ec docs: update sponsor size 2021-01-05 13:14:35 -07:00
Tanner Linsley
b75000e4ca docs: do not adblock sponsors 2021-01-05 12:48:30 -07:00
Tanner Linsley
02edb22f10 docs: add axios dep 2021-01-05 12:41:03 -07:00
Tanner Linsley
1bea039661 docs: add deps 2021-01-05 12:16:58 -07:00
Tanner Linsley
c19383519e Merge branch 'master' of https://github.com/tannerlinsley/react-query 2021-01-05 12:16:37 -07:00
Tanner Linsley
6b68723302 docs: new sponsors format 2021-01-05 12:16:35 -07:00
meesvandongen
1299ad6c4c
fix: make sure queries which have dataUpdatedAt of 0 will be run (#1556) v3.5.10 2021-01-05 09:53:48 +01:00
Tanner Linsley
d25ab3ef82 chore: remove some unused code 2021-01-03 10:20:48 -07:00
Tanner Linsley
1baf3a4d3c docs: update sponsors 2021-01-03 10:20:20 -07:00
Tanner Linsley
9247ab8ca5 fix(devtools): filtering, hide sorting while filtering, show logo when open v3.5.9 2021-01-01 14:58:06 -07:00
Tanner Linsley
b60ee0e924 fix(devtools): remember panel height v3.5.8 2021-01-01 13:40:34 -07:00
Tanner Linsley
cc58b7f542 Merge branch 'master' of https://github.com/tannerlinsley/react-query v3.5.7 2021-01-01 12:30:04 -07:00
Tanner Linsley
7e29579c60 fix: improve devtools styles 2021-01-01 12:30:02 -07:00
Melanie Seltzer
4fc9e74dcf
docs: Update query-invalidation.md (#1544) 2020-12-29 19:41:01 -07:00
Ivan Tanev
8bff7d65ab
docs: fix initialDataUpdatedAt timestamp information (#1539) 2020-12-29 04:02:49 -07:00
Niek
c21e88cbd8 fix: use query data when getting next and prev page params v3.5.6 2020-12-29 09:11:50 +01:00
Dan Beneventano
9f79d04473
fix(devtools): Remove debug statement in devtools (#1516) v3.5.5 2020-12-23 20:19:25 -07:00
Tanner Linsley
24413b7282 fix(devtools): guard against window in useMediaQuery v3.5.4
Fixes #1515
2020-12-23 16:16:45 -07:00
Tanner Linsley
c95cebc078 fix(devtools): guard against window for server envs v3.5.3 2020-12-23 16:11:45 -07:00
Tanner Linsley
8a8e3189ff Merge branch 'master' of https://github.com/tannerlinsley/react-query v3.5.2 2020-12-23 15:34:08 -07:00
Tanner Linsley
7c4501b076 fix(devtools): Better panel resizing, scrollbars and styles 2020-12-23 15:34:05 -07:00
Dominik Dorfmeister
fb6735846d
docs: typescript example docs (#1511)
* (docs): add typescript examples docs page

* (docs): fix typescript example

- eslint complains about use-before-defined
- added missing react types

* (docs): fix typescript example

- eslint complains about use-before-defined
- added missing react types

* (docs): add node types

* (docs): update react-query to the latest version in typescript example

* (docs): add typescript example to navigation

* (docs): make the typescript example open on pages/index.tsx
2020-12-23 08:09:32 -07:00
Abdullah Mzaien
e69b391efc
fix(devtools): change the new invalidate button color to have more contrast (#1507) v3.5.1
* Changing the new invalidate button color to have more contrast

* consistant colors all over dev tools
2020-12-22 19:14:05 -07:00
tjcuevas
cf8c1604a0
docs: Update manual cancellation section to refer to QueryClient instead of QueryCache. (#1508) 2020-12-22 19:13:20 -07:00