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
Tanner Linsley
6eea15093a
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-12-22 12:30:37 -07:00
Tanner Linsley
2deb1154b7
docs: update example deps
2020-12-22 12:30:33 -07:00
Niek Bosch
77f434c10a
feat: add error callback for queries and mutations ( #1504 )
v3.5.0
2020-12-22 10:58:50 -07:00
Tanner Linsley
906f1cf4c8
fix(devtools): add invalidate and reset buttons
v3.4.1
2020-12-22 08:46:07 -07:00
Phil Hauser
66a9019a3f
docs: Grammar correction ( #1498 )
2020-12-21 02:15:02 -07:00
Tanner Linsley
790927de58
feat: options.initialDataUpdatedAt ( #1493 )
...
v3.4.0
* feat: options.initialDataUpdatedAt
* Update initial-query-data.md
* Update useQuery.test.tsx
2020-12-20 07:42:58 -07:00
Niek
772094159f
test: move related tests into separate files
2020-12-20 12:48:14 +01:00
RCroot
3ffe26e66b
fix: remove use of finally to prevent breaking react native fetch environments ( #1492 )
...
v3.3.5
* patch: remove use of finally to prevent breaking react native fetch environments
* fixed to pass tests
* fixed to pass test
2020-12-19 19:22:30 -07:00
Niek Bosch
2249abfaac
fix: make sure queries are retried after an error boundary reset ( #1489 )
v3.3.4
2020-12-19 09:09:22 -07:00
Niek Bosch
bffdc0e8dd
fix: prevent redundant renders ( #1487 )
v3.3.3
2020-12-19 03:29:23 -07:00
Tanner Linsley
e67b9e8314
docs: update sponsors
2020-12-18 17:07:04 -07:00
Tanner Linsley
874f73a820
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-12-18 16:08:04 -07:00
Tanner Linsley
201bd51674
docs: update comparison title
2020-12-18 16:07:59 -07:00
Nelson Sousa
1e13e8ef31
docs: typo on react-native doc page ( #1481 )
2020-12-18 10:12:56 -07:00
Mohamed Ayoub Zahir
0b66a6306d
docs: fixed wrapp typo ( #1480 )
2020-12-18 10:12:37 -07:00
Niek Bosch
75a042580a
fix: make sure typed query fn contexts are accepted ( #1476 )
v3.3.2
2020-12-18 03:05:01 -07:00
Niek Bosch
861faf933b
fix: infer result data type from query fn return type instead of the reverse ( #1470 )
v3.3.1
2020-12-18 10:35:02 +01:00