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

5,975 commits

Author SHA1 Message Date
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
Tanner Linsley
685dafc540 Update README.md 2020-03-30 10:44:37 -06:00
Sebastian Silbermann
61d0bf85a3
docs(readme): Fix link to suspense codesandbox (#295) 2020-03-28 09:25:29 -06:00
Steve Mosley
af593d6a84
Adding in a function for checking if retries should be performed (#294)
* Adding in a function for checking if retries should be performed

* Move retry custom function to be an overload of the retry config

* Add type check for Retry

- Also expand tests to prevent simillar mistake

* Remove unneeded typeof check
2020-03-27 17:02:15 -06:00
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