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

5,014 commits

Author SHA1 Message Date
Julius-Rapp
b575e910e7
docs: fix user.id access in case user is null (#1056) 2020-09-18 11:31:01 -06:00
Niek Bosch
8980223fba
fix: query should try and throw again after error boundary reset (#1054) v2.22.2 2020-09-18 08:09:16 -06:00
Niek Bosch
cd17d4148f
test: add invalidate query tests (#1052) v2.22.1 2020-09-18 08:03:13 -06:00
Niek Bosch
4d1bd350ad
fix: prevent bundlers from removing side effects (#1048) 2020-09-18 08:01:34 -06:00
Twinkle
64ee0b2ea3
docs: fix typo in queries page (#1046) 2020-09-17 22:16:21 -06:00
Juliano Farias
510619ce7b
docs: remove trailing quotes from supporters links (#1045)
The quotes were breaking the links.
2020-09-17 15:56:36 -06:00
Tanner Linsley
9df60c9b03 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-09-17 15:23:41 -06:00
Tanner Linsley
641add19df docs: fix graphql example link
Closes #1044
2020-09-17 15:23:37 -06:00
Niek Bosch
2616dcc8fa
docs: add refetch documentation (#1043) 2020-09-17 10:42:24 -06:00
Niek Bosch
979527b2a9
feat: add QueryCache.fetchQuery method (#1041) v2.22.0 2020-09-17 08:45:34 -06:00
Pierre Mdawar
598ea39a39
Remove storing the return value of queryCache.removeQueries (#1038)
Removed storing the return value of `queryCache.removeQueries` as it doesn't return anything.
2020-09-17 08:23:25 -06:00
Evgeniy Boreyko
9326990efc
docs: fix comparison 3rd party website links (#1040) 2020-09-17 08:22:53 -06:00
Tanner Linsley
11023f9602 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-09-17 07:58:24 -06:00
Tanner Linsley
f0c3a2bc81 docs: update example deps 2020-09-17 07:58:20 -06:00
Niek Bosch
70391e83cb
fix: include config callbacks in batch render (#1036) v2.21.2 2020-09-17 06:12:20 -06:00
Niek Bosch
4361a8803a
docs: prefer default config of QueryCache (#1034) v2.21.1 2020-09-17 06:09:17 -06:00
Niek Bosch
abf386b590
fix: accept any promise in useMutation callbacks (#1033) 2020-09-17 06:07:36 -06:00
Tanner Linsley
6a6a65709b docs: reorder homepage 2020-09-16 18:06:14 -06:00
Tanner Linsley
b03b3eba4b docs: Update essentials banner 2020-09-16 18:05:00 -06:00
Tanner Linsley
0d1eb93566 docs: Update comparison.md 2020-09-16 15:48:40 -06:00
Niek Bosch
126773133b
feat: implement batch rendering (#989) v2.21.0 2020-09-16 15:22:35 -06:00
Tanner Linsley
2fdecb1d72 docs: add graphql example 2020-09-16 15:09:24 -06:00
Tanner Linsley
0c7f63dc5e docs: update graphql docs 2020-09-16 15:07:54 -06:00
Tanner Linsley
c977982c59 docs: add graphql-request example 2020-09-16 15:05:45 -06:00
Tanner Linsley
14dba5c6b0 docs: Add graphql docs 2020-09-16 14:52:44 -06:00
Niek Bosch
7b44a50441
fix: should throw error when using useErrorBoundary (#1016) v2.20.1 2020-09-16 14:37:50 -06:00
Niek Bosch
c5738db39f
fix: should be able to invalidate queries (#1006) 2020-09-16 14:36:11 -06:00
Niek Bosch
34a7c1ce0c
feat: add remove method and deprecate clear (#1022) v2.20.0 2020-09-16 08:54:28 -06:00
Niek Bosch
607425e375
docs: remove shared config (#1021) 2020-09-16 08:52:13 -06:00
Niek Bosch
c81e309a4d
feat: export QueryCache and remove global query cache from docs and examples (#1017) v2.19.0 2020-09-15 11:15:29 -07:00
Niek Bosch
959e19e193
feat: add always option to refetch options (#1011) v2.18.0 2020-09-14 15:40:35 -07:00
Niek Bosch
460ab339c7
fix: make sure initial data always uses initial stale (#1010) v2.17.2 2020-09-13 15:17:42 -07:00
Niek Bosch
380a049bf0
refactor: remove query status bools (#1009) 2020-09-13 07:55:05 -07:00
Niek Bosch
065ffe0672
docs: update api docs (#1005) v2.17.1 2020-09-13 07:25:30 -07:00
Niek Bosch
c7e342a91a
fix: useInfinityQuery fetchMore should not throw (#1004) 2020-09-12 14:54:15 -07:00
Niek Bosch
3d967bf8ae
feat: add support for tree shaking (#994) v2.17.0 2020-09-12 08:11:02 -07:00
Niek Bosch
3b181101e7
test: add previous data test (#1003) 2020-09-12 08:10:29 -07:00
Niek Bosch
0db8013404
fix: notify query cache on stale (#1001) 2020-09-12 08:09:22 -07:00
Niek Bosch
1eb4d00d65
fix: cancel current fetch when fetching more (#1000) v2.16.1 2020-09-11 12:30:28 -07:00
Corentin Leruth
5c79f72875
refactor: remove unused deepEqual function (#999) 2020-09-11 12:26:10 -07:00
Niek Bosch
93db5b6124
feat: add reset error boundary component (#980) v2.16.0 2020-09-11 07:21:15 -07:00
Niek Bosch
00b9e968a8
refactor: optimize render path and improve type safety (#984) 2020-09-08 13:11:23 -06:00
Fredrik Höglund
7730feeb9b
fix(hydration): overwrite the existing data in the cache if hydrated data is newer (#976) v2.15.4 2020-09-06 14:45:33 -06:00
Tanner Linsley
eeab6bc771 docs: update sponsors 2020-09-06 12:14:50 -06:00
Niek Bosch
ce7acd0cc6
fix: export hydration types (#974) v2.15.3 2020-09-06 12:06:56 -06:00
Rudzainy Rahman
e0cb76f058
Update devtools.md (#973) v2.15.2
Separate the sentences based on contex
2020-09-06 12:03:31 -06:00
Niek Bosch
6678d84c07
refactor: cleanup to reduce file size and add tests (#969) 2020-09-06 12:03:12 -06:00
Niek Bosch
cb2b4252a9
fix: make sure setQueryData is not considered as initial data (#966) 2020-09-05 08:24:00 -06:00
Alex Marshall
1117a51685
docs: typo in useQuery.test (#965) v2.15.1 2020-09-04 10:11:24 -06:00
Niek Bosch
e9770b77aa
fix: use hook config on refocus or reconnect (#964) 2020-09-04 09:55:51 -06:00