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

5,191 commits

Author SHA1 Message Date
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
Sachin Jani
d46e7b8865
docs: Removed data redundancy from features list. (#1469) 2020-12-17 14:24:53 -07:00
Kevin Sullivan
fcd9861b57
docs: Update Footer.js (#1468) 2020-12-17 14:23:57 -07:00
Rocío
d9abc0e9bc
docs(mutations): fix typo in example url (#1465)
Co-authored-by: rocioDEV <rocio@etereo.io>
2020-12-17 13:49:58 -07:00
Artur Sedlukha
cb88b4dfcb
docs: typo on ssr guides (#1464) 2020-12-17 08:39:59 -07:00
Tanner Linsley
2e189a5096 Merge branch 'master' of https://github.com/tannerlinsley/react-query v3.3.0 2020-12-16 07:28:59 -07:00
Tanner Linsley
a11f3359a9 chore: fix publishing 2020-12-16 07:28:49 -07:00
Niek Bosch
260ec62983
fix: always render the latest observer state (#1449) 2020-12-16 04:00:26 -07:00
Tanner Linsley
976e19d601 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-12-15 23:26:42 -07:00
Tanner Linsley
e4746f605c docs: update sponsors 2020-12-15 23:26:33 -07:00
Asep Setyawan
e0c3c6d209
docs: typo on ssr & next.js guides (#1448) 2020-12-15 20:03:36 -07:00
Niek Bosch
14834e8214
feat: add imperative infinite query methods (#1443) 2020-12-15 18:49:09 -07:00
Niek Bosch
eb301fc908
fix: allow queries to be fetched with zero cache time and do not hydrate it (#1442) 2020-12-15 18:46:16 -07:00
Vaios Karampinis
73341ba5c4
docs: fix typo on successful mutation (#1440) 2020-12-15 11:14:33 -07:00
Pushpinder Singh
253fe24c61
docs: Fix typo (#1430) 2020-12-15 11:54:20 +01:00
Jonas Reitmann
28b7e70aaa
docs: Fix syntax error (#1428) 2020-12-15 03:23:30 -07:00
jfranty
48b3bc811a
docs: Fix typo in comparison.md (#1427) 2020-12-15 03:08:38 -07:00
Tanner Linsley
c2cec1b2e3
Update index.js 2020-12-14 18:41:38 -07:00
Bruno Bigras
94ab4a01f9
docs: add missing 'resolve-from' dep to examples/nextjs (#1417) 2020-12-14 16:49:13 -07:00
Tanner Linsley
b030e0e258 types(devtools): better types for devtools
Fixes #1406
2020-12-14 16:46:39 -07:00
Tanner Linsley
5e4ef153de fix(devtools): Do not include devtools for production 2020-12-14 16:28:52 -07:00
Timo Vink
224125afe8
docs: Fix broken links (#1419)
Co-authored-by: Timo Vink <timo.vink@orbis.com>
2020-12-14 16:10:11 -07:00
Bruno Bigras
67ba20d39e
fix: remove unneeded bracket in README (#1418) 2020-12-14 22:53:12 +01:00
Matthew Mikolay
2608241d2a
docs: fix links (#1414) 2020-12-14 13:52:39 -07:00
Timo Vink
837c6fd313
docs: fix example in defaultQueryFn guide page (#1416) 2020-12-14 13:52:24 -07:00
Akhila Ariyachandra
033dffcfa9
docs: Fix typo (#1405) 2020-12-14 09:28:21 -07:00
Jelte Homminga
d04045827e
docs: typo Walkthough -> Walkthrough (#1399) 2020-12-14 09:27:50 -07:00
Tanner Linsley
5350fb9511
docs: fix white space 2020-12-14 09:11:05 -07:00
Michael Shtilerman
80cecef22c
fix(queryCache): stop deepIncludes exception comparing null (#1403)
typeof null === 'object'

Co-authored-by: mike-shtil <mike.shtil@gmail.com>
2020-12-14 08:41:48 -07:00
Dominik Dorfmeister
97ee73382b
docs: typescript example (#1400)
* (docs): add typescript example for optimistic updates

* (docs): add a Counter to show off the "select" option in TypeScript

* (docs): simplify TypeScript example

There is no need to add generics to userQuery now - it will be inferred correctly by the options

* return context from onMutate and define types on the `onMutate` function

* add missing select option to useQuery api reference
2020-12-14 06:32:49 -07:00
Tanner Linsley
3c1d2f0e77 docs: update installation 2020-12-14 00:07:55 -07:00
Tanner Linsley
8103d9675e docs: update home page 2020-12-13 23:28:19 -07:00
Tanner Linsley
310c222b38 chore: update release config 2020-12-13 23:04:34 -07:00
Tanner Linsley
8aa4cb3e04 Update logo.sketch 2020-12-13 23:00:13 -07:00