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
Tanner Linsley
c66dcc9e28
Change to useMountedCallback
2020-03-18 12:34:27 -06:00
Tanner Linsley
8c90121813
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-03-18 12:29:49 -06:00
Tanner Linsley
b3c335d16d
Fixes #11
2020-03-18 12:29:44 -06:00
samir elsharkawy
5d11b9ce08
Update example/suspense/README.md ( #260 )
...
Fix codesandbox example link
2020-03-18 11:40:30 -06:00
Tanner Linsley
162fe88bfe
v1.0.28
v1.0.28
2020-03-17 16:07:54 -06:00
Tanner Linsley
5a920dcacf
Fixes #259
2020-03-17 16:05:09 -06:00
Tanner Linsley
de94c1da8f
Fixes #258
2020-03-17 15:59:32 -06:00
Tanner Linsley
a3dc28a638
Fix #237
2020-03-17 15:35:19 -06:00
dependabot[bot]
30b4483121
Bump acorn from 6.3.0 to 6.4.1 in /examples/basic ( #255 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 15:31:03 -06:00
dependabot[bot]
0ea993e95e
Bump acorn from 6.3.0 to 6.4.1 in /examples/custom-hooks ( #254 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 15:30:53 -06:00
dependabot[bot]
1424564d3c
Bump acorn from 5.7.3 to 5.7.4 ( #247 )
...
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-17 15:30:45 -06:00
Tanner Linsley
0b3763d31d
Update README.md
2020-03-15 13:58:35 -06:00
Tanner Linsley
d133fb9783
Update README.md
2020-03-15 13:51:00 -06:00
sigfried
7e3eb33dfc
227 bug pagination example ( #243 )
...
* refactor(build): Update dependencies
* fix: Bug in usePaginatedQuery example
2020-03-13 13:55:38 -06:00
Tanner Linsley
389b4900d2
v1.0.27
2020-03-13 13:53:40 -06:00
Tanner Linsley
8b9fb26b90
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-03-13 13:40:23 -06:00
Tanner Linsley
26c80ad74d
Update queryCache
2020-03-13 13:40:21 -06:00
Vladislav Shkodin
4363c6a531
feat: add getQueries method ( #240 )
2020-03-12 10:51:36 -06:00
Camron Flanders
df8f685e01
useMutation docs incorrect ( #239 )
...
* useMutation docs incorrect
Variables should be in the return mutate function, and the standard query state (status, error, data) was swapped with callback configuration.
* Update README.md
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-03-12 09:15:12 -06:00
Joshua Turner
fc193a11f3
Remove typo from README.md ( #233 )
2020-03-12 09:02:50 -06:00
Andrew Cherniavskii
7f9e037f4f
Support staleTime: Infinity ( #232 )
...
* format
* add failing test
* fix failing test
2020-03-12 09:01:19 -06:00
Tanner Linsley
e1477f2c2b
Update README.md
2020-03-11 15:26:28 -06:00