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

5,036 commits

Author SHA1 Message Date
Bernardo Mariano
6ef8f8a782
docs: Add infinite scrolling specific test examples (#1372) 2020-12-08 12:23:15 -07:00
Uday Vunnam
6e2e37ea5f
fix(types): change the order of types so that correct type inference is picked for **Object syntax** (#1330) v2.26.4
* Change the order of types

Change the order of types so that correct type inference is picked for Object sytax

* change order of types

* Update usePaginatedQuery.ts
2020-12-06 21:15:32 -07:00
liaoliao666
820b4ffe05
optimization(query): reduce unnecessary recursion (#1329)
* Only work once when forceFetchOnMount is ture or refetchOnMount is 'always'

* fixed(queryObserver): fetch data twice when mounted

* optimization(query): reduce unnecessary recursion
2020-12-06 21:13:25 -07:00
Nico Prananta
11bf7a44d1
docs: Update query-cancellation.md (#1328)
* Update query-cancellation.md

Add sample code to manually cancel a query.

* Update query-cancellation.md

* Update query-cancellation.md

* Update query-cancellation.md
2020-12-06 21:12:13 -07:00
liaoliao666
ae1009496c
fixed(queryObserver): fetch data twice when mounted (#1320)
* Only work once when forceFetchOnMount is ture or refetchOnMount is 'always'

* fixed(queryObserver): fetch data twice when mounted

* optimization(query): reduce unnecessary recursion
2020-12-06 21:10:33 -07:00
Yordis Prieto
f52953c912
docs: add isFetched variable info (#1317) 2020-12-06 21:09:29 -07:00
Angus
7535383eba
fix: clearTimeout instead of clearInterval (#1305) v2.26.3
jest modern timers break because the stale timeout is created with setTimeout but cleared with clearInterval
2020-11-19 23:16:32 -07:00
Eugene Asiedu
a56a5b59a2
docs: fix typo for options used in querycache (#1291) 2020-11-16 07:30:28 -07:00
Arman
7cd586ffe6
docs: correct example code (#1290) 2020-11-15 08:17:53 -07:00
Jon Roach
37ad9c127d
docs(infiniteQuery guide): include missing error (#1289) 2020-11-14 14:12:37 -07:00
Juan gabriel ramirez cruz
3de60e6f0f
docs: isSuccess is a boolean not a function (#1282) 2020-11-12 12:55:07 -07:00
mackie
ff1bfb2dbc
docs: fix graphql-request typo (#1277) 2020-11-11 15:23:47 -07:00
Tanner Linsley
25a776d98d Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-11-06 14:08:15 -07:00
Tanner Linsley
fb596eadf9 docs: update sponsors 2020-11-06 11:36:39 -07:00
Mario Beltrán Alarcón
df3460bd4f
fix: Update React peer dependency (#1260) v2.26.2
Update React peer dependency to include v17. Without this change everything is working fine but "incorrect peer dependency" warning appears in the console.

I think no CI change is necessary to run tests over React v16 and v17?
2020-11-05 09:18:48 -07:00
Graham Cox
35efec795a
docs: Guide page for testing - (#1244)
* Guide page for testing - first draft

* Update docs/src/pages/docs/guides/testing.md

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-11-03 14:39:53 -07:00
Tanner Linsley
61e7b9b854 fix: semantic release maintenance (no changes) v2.26.1 2020-11-03 14:25:16 -07:00
Tanner Linsley
f613e18f34 feat: semantic release maintenance (no changes) v2.26.0 2020-11-03 14:12:19 -07:00
Tanner Linsley
5d56cf5c28 docs: update sponsors 2020-11-02 09:34:34 -07:00
Tanner Linsley
69236d3e0b docs: update videos 2020-10-29 13:40:25 -06:00
Tanner Linsley
809f9bb7da docs: update sponsors 2020-10-26 14:42:36 -06:00
Tanner Linsley
f8ec3c1dc7 fix: semantic release v2.25.2 2020-10-21 14:30:04 -06:00
Tanner Linsley
29944da8aa fix: fix semantic release v2.25.1 2020-10-21 14:17:19 -06:00
Tanner Linsley
3fce2ec026
feat: add placeholderData to queryObserver (#1161)
* feat: add placeholderData to queryObserver

* Add docs and a few tests (one failing)

* Add isPlaceholderData

* Update api.md
2020-10-21 13:42:07 -06:00
aleris
6e30aaa0be
docs(typescript): add note for custom hooks types (#1185)
When using with typescript, the error type cannot be inferred and appears as 'unknown'.
This adds an explicative note and example as it might not be obvious how a custom hook should be created.
2020-10-19 20:38:02 -06:00
JP Angelle
160d1ac1a6
docs(api): change manual to isEnabled (#1166) 2020-10-13 20:04:36 -06:00
Tanner Linsley
5bfd7afafb docs: update sponsors 2020-10-12 14:26:28 -06:00
Tanner Linsley
7f3569303c docs: update sponsors 2020-10-11 20:52:44 -06:00
Tanner Linsley
df4c7554e3 docs(examples): fix sandbox version 2020-10-11 20:22:18 -06:00
Tanner Linsley
8001abb2f0 docs(examples): fix sandbox version 2020-10-11 20:21:08 -06:00
Tanner Linsley
3073ddd31d docs(examples): fix sandbox version 2020-10-11 20:19:26 -06:00
Tanner Linsley
40944e10df docs(examples): fix sandbox version 2020-10-11 20:18:43 -06:00
Tanner Linsley
a7cff10ffc docs(examples): fix sandbox version 2020-10-11 20:17:38 -06:00
Tanner Linsley
21803e3f02 docs(examples): fix sandbox version 2020-10-11 20:14:45 -06:00
Tanner Linsley
39c021cd76 docs(examples): fix sandbox version 2020-10-11 20:13:53 -06:00
Tanner Linsley
7352b8be1d docs(examples): fix sandbox version 2020-10-11 20:12:58 -06:00
Tanner Linsley
35060bde53 docs(examples): fix codesandbox version 2020-10-11 20:11:46 -06:00
Nisar Hassan Naqvi
812f1e9939
fully automate the dev setup with Gitpod. (#1155) 2020-10-10 08:37:08 -06:00
Aaron Scherer
07f06b98c4
docs: Remove unnecessary --save in install instructions (#1149)
* Remove unnecessary --save in install instructions

Thankfully, `--save` hasn't been necessary with NPM for some time now :)

* Update devtools.md

* making uniform with devtools instructions
2020-10-08 17:21:47 -06:00
Jimmy McBride
8582a9ad42
docs: GQL Blog Example (#1144)
* added an example repo using React Query to manage the data comming from a GQL back end to serve content

* removed

* readded without .git
2020-10-08 17:21:01 -06:00
Todor Totev
8585a17c77
docs(nextjs-example) init (#1146) 2020-10-08 09:52:01 -06:00
Zack Ward
0d97ecefd4
Fix Typo (#1145) 2020-10-07 20:47:43 -06:00
Tanner Linsley
833f5186b5 build: add beta builds 2020-10-05 14:57:27 -06:00
Abhijeet Singh
8669fadb81
docs: Elaborate on usage of queries (#1133) 2020-10-04 11:04:01 -06:00
Abhijeet Singh
675605024d
docs: Add eslint-config-prettier to devDependencies in custom-hooks example (#1127)
* Add eslint-config-prettier to devDependencies in custom-hooks example

* Remove unnecessary run from start command
2020-10-03 20:50:30 -06:00
jueinin
4a7ca0c407
build: add building support on Windows terminal (#1129)
Co-authored-by: jueinin <b1014397160@gmail.com>
2020-10-03 20:49:32 -06:00
Punn Siriphanthong
6f2ae92ee1
fix: refetching on infinite query when a page was deleted (#1124) v2.23.1
* test: add more test

* feat: update infinite fetch

* refactoring

* refactoring

* refactoring
2020-10-03 19:44:01 +02:00
Tanner Linsley
b4aa576c6d docs: update sponsors 2020-10-02 14:01:08 -06:00
zoharbob
3c05ed288b
docs: Update quick-start.md (#1121) 2020-10-01 16:46:05 -06:00
Tanner Linsley
45371c9571 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-09-25 11:15:31 -06:00