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

5,011 commits

Author SHA1 Message Date
Igor Adrov
2b6a711cf3
fix typo in readme (#292) 2020-03-27 08:45:55 -06:00
Tanner Linsley
1570afff85 v1.1.7 2020-03-26 21:15:31 -06:00
Tanner Linsley
6a73e6a0a3 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-03-26 21:11:03 -06:00
Tanner Linsley
3e62b48548 v1.1.6 2020-03-26 21:10:57 -06:00
Tanner Linsley
f849d694b7 Fix useMutation race condition 2020-03-26 21:05:58 -06:00
Kent C. Dodds
fc832dcba0
add unminified esm build (#290)
* feat: add unminified build

Right now, anyone using modern tooling is going to get the minified version which makes debugging really difficult.

* set package.json "module" to unminified version
2020-03-26 19:34:24 -06:00
Tanner Linsley
5f5112ec21 v1.1.5 v1.1.5 2020-03-26 16:39:23 -06:00
Joe Ng'ethe
3773a62030
Fix add dependancies (#288)
* fix: add and save dependancies in some of the examples

* fix: add and save dependancies in some of the examples
2020-03-26 09:23:55 -06:00
Tanner Linsley
188d7d4ec0 Add dev tools to examples 2020-03-26 00:56:03 -06:00
Tanner Linsley
9b26181b0a Add Star Wars example 2020-03-26 00:53:21 -06:00
Tanner Linsley
20bf765117 Update index.js 2020-03-26 00:35:07 -06:00
Tanner Linsley
387b106e8b Fix usePostId 2020-03-26 00:33:05 -06:00
Tanner Linsley
21e3da826d Fix imports 2020-03-26 00:31:45 -06:00
dependabot[bot]
e7225a0cea
Bump acorn from 5.7.3 to 5.7.4 in /examples/playground (#284)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-26 00:31:03 -06:00
dependabot[bot]
c8aa350e7b
Bump acorn from 5.7.3 to 5.7.4 in /examples/custom-hooks (#286)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-26 00:30:54 -06:00
dependabot[bot]
9f297bc672
Bump acorn from 5.7.3 to 5.7.4 in /examples/basic (#285)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-26 00:30:44 -06:00
Tanner Linsley
00fb29fac6 Simpler custom hooks example 2020-03-26 00:29:33 -06:00
Tanner Linsley
67c738a754 Add axios 2020-03-26 00:26:22 -06:00
Tanner Linsley
1f42d5801c Update README.md 2020-03-26 00:25:31 -06:00
Tanner Linsley
22979192f4 Simpler basic example 2020-03-26 00:24:34 -06:00
Tanner Linsley
7fa3c027cc Rename example 2020-03-26 00:00:58 -06:00
Tanner Linsley
3bb4031a4f Update README.md 2020-03-25 23:53:14 -06:00
Tanner Linsley
d6746c8c56 v1.1.4 2020-03-25 23:49:05 -06:00
Tanner Linsley
0c465fb145 Fix: fetchMore does nothing if canFetchMore is falsy 2020-03-25 23:46:50 -06:00
Tanner Linsley
b344db47cb Improve examples 2020-03-25 23:46:18 -06:00
Tanner Linsley
4a7bdbc61b v1.1.3 v1.1.3 2020-03-25 15:04:38 -06:00
Tanner Linsley
be5226cfe2 Update CHANGELOG.md 2020-03-25 15:03:16 -06:00
Tanner Linsley
53906f479a Update CHANGELOG.md 2020-03-25 15:02:30 -06:00
Avi Press
54c559e30f
Add Scarf dependency for installation analytics (#281)
* Add Scarf dependency for installation analytics

* focus on package.json based opt-out strategy rather than environment variable

* typo

* unfill paragraph for consistency with the rest of README.md

* typo2
2020-03-25 15:00:09 -06:00
Tanner Linsley
ae40028bfd v1.1.1 2020-03-24 16:43:25 -06:00
Tim Wachsener
4475239402
Prevent canFetchMore is undefined with initialData (#266)
* Prevent canFetchMore is undefined with initialData

https://github.com/tannerlinsley/react-query/issues/250

* Check if initialData is undefined and only run on first render

* Add useInfiniteQuery with initialData tests

* Set correct canFetchMore var

* Sort out call order

* Add test for refetch

* Use one page for test
2020-03-24 16:37:16 -06:00
Tanner Linsley
d3ea0a8926 v1.1.0 2020-03-24 14:30:29 -06:00
Tanner Linsley
4b96233e6a Add onMutate lifecycle event 2020-03-24 14:18:43 -06:00
Tanner Linsley
6ba86dbbb6 v1.0.36 v1.0.36 2020-03-24 12:14:34 -06:00
Tanner Linsley
8332c70c91 Fixes #275 2020-03-24 12:14:02 -06:00
Tanner Linsley
d5ce85a510 v1.0.35 v1.0.35 2020-03-23 16:40:18 -06:00
Tanner Linsley
a5b35e3a4a v1.0.34 2020-03-23 13:57:34 -06:00
Tanner Linsley
ee9bb15077 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-03-23 13:10:23 -06:00
Fran Guijarro
ae2cb8d486
feature: useMutation onSuccess, onError, onSettled now have access to variables (#274) 2020-03-22 18:01:48 -06:00
Tanner Linsley
5b8783304d v1.0.33 v1.0.33 2020-03-20 18:17:25 -06:00
Tanner Linsley
d8dc3a422e Update CHANGELOG.md 2020-03-20 18:16:58 -06:00
Tanner Linsley
3de5e8661a Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-03-20 18:15:50 -06:00
Tanner Linsley
6818cf5746 v1.0.32 2020-03-20 18:15:47 -06:00
Kent C. Dodds
8c519ccef0
do not call dispatch on removed query (#272) 2020-03-20 17:27:17 -06:00
Tanner Linsley
4cbae3b70d v1.0.31 v1.0.31 2020-03-20 16:58:04 -06:00
Tanner Linsley
7c43c94acb v1.0.30 v1.0.30 2020-03-20 16:44:53 -06:00
Tanner Linsley
573edf86a4 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-03-20 16:43:37 -06:00
Kent C. Dodds
6ce2791f87
clear stale timeout when removing queries (#271)
Closes #270
2020-03-20 16:42:44 -06:00
mustafa
df4bd3b549
updated useIsFetching readme (returns number not bool) (#264) 2020-03-18 19:41:30 -06:00
Tanner Linsley
66c9d6419a v1.0.29 v1.0.29 2020-03-18 12:35:08 -06:00