Tanner Linsley
07daf3fc8a
v1.2.6
2020-04-16 09:19:12 -06:00
Tanner Linsley
70c7b00479
Fix issue where isLoading === true when falsey query key supplied
...
Fixes #360
2020-04-16 09:17:56 -06:00
Tanner Linsley
9fa8336c73
Update README.md
2020-04-15 09:49:48 -06:00
Tanner Linsley
0fb1621de8
Update README.md
2020-04-15 09:48:23 -06:00
Tanner Linsley
6db2cd3951
v1.2.5
2020-04-15 09:41:38 -06:00
Tanner Linsley
5ae0375afa
v1.2.4
2020-04-14 20:13:27 -06:00
Tanner Linsley
f8932da3d4
v1.2.4
v1.2.4
2020-04-14 20:13:26 -06:00
Tanner Linsley
1158bd1ecb
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-04-14 20:10:31 -06:00
Tanner Linsley
0567d9d045
Fix #352
2020-04-14 20:10:28 -06:00
Juan Pablo Ramírez
76eea1db6a
add rick and morty example ( #354 )
...
* add rick and morty example
this is a very similar example to the star wars, since the star wars api
is going to be deprecated and is currently down, my proposal is to use
the rick and morty example to replace the star wars example that is not
working right now.
* add rick and morty example to README
2020-04-14 19:16:39 -06:00
Drazen Bjelovuk
836092352d
add cacheTime: Infinity to docs ( #350 )
2020-04-13 21:36:29 -06:00
Drazen Bjelovuk
b8106866fe
accept infinite cacheTime ( #349 )
2020-04-13 18:47:39 -06:00
Tanner Linsley
7cabf53e4c
v1.2.3
2020-04-13 00:19:03 -06:00
Tanner Linsley
16c6dfbc8c
v1.2.2
2020-04-13 00:18:16 -06:00
Juan Pablo Ramírez
66662a4c5f
fix missing dependency in an example ( #343 )
...
The focus-refetching example is missing the axios dependency in the
package.json, if we run the example locally there isn't any problem, but
if we use the codesandbox documentation link, the example is showing a
problem with the missing dependency.
2020-04-12 22:53:11 -06:00
Dragoș Străinu
a0ef66f05c
docs: add links to top with jump2header ( #342 )
2020-04-12 22:52:19 -06:00
Chang Wang
68cf4e17e0
fix instruction typo in readme ( #340 )
...
afaik this isn't an acceptable way to import something (my editor was complaining)
```
const { useQuery } from 'react-query'
```
2020-04-12 22:51:27 -06:00
Kamran Ayub
1a18671584
Ensure we await the rendered text we expect ( #338 )
2020-04-12 22:51:09 -06:00
Dragoș Străinu
2815b1cb34
docs: fix typo in Rollback examples ( #335 )
...
* docs: fix typo in Rollback examples
* docs: add comma
Co-Authored-By: Kamran Ayub <kamran.ayub@gmail.com>
* docs: add comma after rollback()
Co-authored-by: Kamran Ayub <kamran.ayub@gmail.com>
2020-04-12 22:50:23 -06:00
Clifford
f53d31a2ec
fix typos ( #333 )
2020-04-08 17:47:53 -06:00
Kamran Ayub
67755ce198
fix(scheduleGarbageCollection): Do not garbage collect newly cached queries of the same hash ( #332 )
...
* Add manual/prefetch cleanup test that fails
* Prefetch both queries in second test
* Add cleanup comment that will make the tests pass
* Store when the GC was initiated and compare against updatedAt
* Replace solution with state marker check and streamline test
* Undo setting.json change
* Undo setting.json change
2020-04-08 17:47:29 -06:00
dependabot[bot]
63f3d82182
Bump acorn from 6.3.0 to 6.4.1 in /examples/pagination ( #318 )
...
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-04-06 11:17:07 -06:00
dependabot[bot]
5fc9783d56
Bump acorn from 6.3.0 to 6.4.1 in /examples/focus-refetching ( #317 )
...
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-04-05 17:33:39 -06:00
dependabot[bot]
d2ca1b8585
Bump acorn from 6.3.0 to 6.4.1 in /examples/auto-refetching ( #315 )
...
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-04-05 17:10:21 -06:00
dependabot[bot]
22f54c06b4
Bump acorn from 5.7.3 to 5.7.4 in /examples/suspense ( #314 )
...
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-04-05 17:09:52 -06:00
dependabot[bot]
db1b85746f
Bump acorn from 6.3.0 to 6.4.1 in /examples/load-more-infinite-scroll ( #316 )
...
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-04-05 17:09:12 -06:00
Luke Glazebrook
f6178773f0
docs: fix typo in docs. quiries -> queries ( #313 )
...
Co-authored-by: Luke Glazebrook <Glazy@users.noreply.github.com>
2020-04-03 19:36:07 -06:00
Tanner Linsley
c444286ab5
v1.2.1
v1.2.1
2020-04-03 14:23:47 -06:00
Tanner Linsley
400288f45d
Update CHANGELOG.md
2020-04-03 14:22:52 -06:00
Kamran Ayub
c284c906c5
Passthru force and add test ( #312 )
...
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-04-03 14:18:17 -06:00
Kamran Ayub
df536e8f2f
fix(prefetchQuery): Throw error when throwOnError is set ( #310 )
...
* Add test for throwOnError
* Uncomment throw error
2020-04-03 14:16:14 -06:00
Tanner Linsley
ce64708f0e
Update README.md
2020-04-02 14:46:59 -06:00
Tanner Linsley
e4c415fd5c
Update README.md
2020-04-01 10:16:46 -06:00
Tanner Linsley
560b5290f5
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-04-01 10:13:45 -06:00
Tanner Linsley
9dd9998dbf
Update README.md
2020-04-01 10:13:37 -06:00
dependabot[bot]
ce090733ff
Bump next from 9.2.2 to 9.3.2 in /examples/prefetching ( #308 )
...
Bumps [next](https://github.com/zeit/next.js ) from 9.2.2 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases )
- [Commits](https://github.com/zeit/next.js/compare/v9.2.2...v9.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-01 09:59:42 -06:00
dependabot[bot]
907d063062
Bump next from 9.2.2 to 9.3.2 in /examples/pagination ( #306 )
...
Bumps [next](https://github.com/zeit/next.js ) from 9.2.2 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases )
- [Commits](https://github.com/zeit/next.js/compare/v9.2.2...v9.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-01 09:48:54 -06:00
dependabot[bot]
bd68f1b794
Bump next from 9.2.2 to 9.3.2 in /examples/focus-refetching ( #305 )
...
Bumps [next](https://github.com/zeit/next.js ) from 9.2.2 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases )
- [Commits](https://github.com/zeit/next.js/compare/v9.2.2...v9.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-01 09:48:43 -06:00
dependabot[bot]
e4417558f8
Bump next from 9.2.2 to 9.3.2 in /examples/load-more-infinite-scroll ( #304 )
...
Bumps [next](https://github.com/zeit/next.js ) from 9.2.2 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases )
- [Commits](https://github.com/zeit/next.js/compare/v9.2.2...v9.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-01 09:48:35 -06:00
dependabot[bot]
8abdfe72f0
Bump next from 9.2.2 to 9.3.2 in /examples/auto-refetching ( #303 )
...
Bumps [next](https://github.com/zeit/next.js ) from 9.2.2 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases )
- [Commits](https://github.com/zeit/next.js/compare/v9.2.2...v9.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-01 09:48:26 -06:00
Tanner Linsley
1317b04e91
Update README.md
2020-03-30 15:00:32 -06:00
Tanner Linsley
6015eee093
Update README.md
2020-03-30 14:59:41 -06:00
Tanner Linsley
baf19d1de2
Update README.md
2020-03-30 14:48:51 -06:00
Tanner Linsley
6d64d55b1f
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-03-30 14:45:19 -06:00
Tanner Linsley
09818d5b40
Update README.md
2020-03-30 14:45:03 -06:00
Andrew Cherniavskii
8b9f6cb8ad
Update docs ( #299 )
...
* update retry option docs
* update staleTime option docs
2020-03-30 14:28:50 -06:00
Andrew Cherniavskii
03f31479d1
Do not refetch manual queries on window focus ( #300 )
...
* add failing test
* do not refetch manual query on window focus
2020-03-30 14:28:43 -06:00
Tanner Linsley
7f3af50ce4
v1.2.0
v1.2.0
2020-03-30 10:53:57 -06:00
Tanner Linsley
0c3fa76d1c
Update CHANGELOG.md
2020-03-30 10:53:17 -06:00
Tanner Linsley
6cb35d125b
Merge branch 'master' of https://github.com/tannerlinsley/react-query
2020-03-30 10:52:19 -06:00