0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
Commit graph

5,683 commits

Author SHA1 Message Date
Ryan Stelly
7d25d2f6e8
docs(setFocusHandler): React Native Example (#912) 2020-08-22 16:48:49 -06:00
Aadesh Chandra
5d1dc70ca9
docs: typo in useInfiniteQuery api docs (#905) v2.9.0 2020-08-21 07:05:45 -06:00
Niek Bosch
26600b15bc
feat: add structural sharing configuration flag (#902) 2020-08-21 07:04:45 -06:00
Charlie An
799eb9039e
docs: mutationFn should return a Promise type (#854) 2020-08-20 10:55:30 -06:00
lgenzelis
b8a0b99367
docs: Update api.md (#862)
Added description for a couple of return values missing from the `useMutation` documentation.
2020-08-20 10:54:32 -06:00
Niek Bosch
15f53ca614
refactor: move prevent set state in render logic to useIsFetching hook (#874) 2020-08-20 10:54:03 -06:00
Niek Bosch
73ccba8612
feat: publish new types (#897) v2.8.0 2020-08-20 10:46:20 -06:00
Rui Saraiva
ee2735d84c
chore(actions): revert semantic release action code (#895) v2.7.1 2020-08-20 10:29:17 -06:00
Niek Bosch
227afcd417
fix: make sure observers only subscribe to queries when started (#899) 2020-08-20 10:28:38 -06:00
Niek Bosch
4314ba5384
refactor: define configuration merging strategy (#871) 2020-08-20 09:34:34 -06:00
Rui Saraiva
e7432db60c
chore: remove deprecated NPM scripts (#891) 2020-08-20 08:38:50 -06:00
Rui Saraiva
2b26c1ab0d
chore(actions): add cache to NPM packages on GitHub actions (#888) 2020-08-19 20:30:27 -06:00
Niek Bosch
75a1d3d36f
feat: replace query instance with query observer (#867) v2.7.0 2020-08-19 13:55:12 -06:00
Niek Bosch
dc70f7d656
feat: add structural sharing of data between query results (#883) v2.6.0 2020-08-19 11:51:03 -06:00
Nomaan Ahgharian
3545717b95
fix: readme header image (#863) v2.5.14 2020-08-13 15:57:09 -06:00
Tanner Linsley
c1ad811f0e Update README.md 2020-08-13 14:43:29 -06:00
Tanner Linsley
77c160bed8 docs: add scarf analytics to docs 2020-08-13 14:42:57 -06:00
Sergio A. Arevalo Soria
58acca1c6b
docs: fix anchor (#837) 2020-08-05 12:30:07 -06:00
Pete Thorne
bd3dc8be95
docs: Adds TS version requirement (#836)
* Adds TS version requirement

* Typo
2020-08-05 09:24:25 -06:00
Tanner Linsley
a57cd7df30 docs: update comparison 2020-08-04 11:07:24 -06:00
Tanner Linsley
3e053ea6e7 docs: update comparison for SWR pagination/infinite 2020-08-04 10:47:06 -06:00
Niek Bosch
b5d1f0d546
test: fix suspense test (#831) 2020-08-04 07:25:01 -06:00
Niek Bosch
140515d44b
fix: make sure all callbacks are called in suspense mode (#828) v2.5.13 2020-08-03 20:52:17 -06:00
Bene
880f971176
fix: fetch query when any instance is enabled (#827) v2.5.12 2020-08-03 12:54:17 -06:00
Niek Bosch
8fcd002364
refactor: remove gc flag (#825) 2020-08-03 10:35:56 -06:00
Niek Bosch
01c5b29674
test: prevent queries from interfering with each other (#821) 2020-08-03 09:48:12 -06:00
Valeriy
7158e3dd52
fix(useInfiniteQuery): correctly set canFetchMore (#822) v2.5.11
canFetchMore should be false for falsy getFetchMore return value
2020-08-01 20:41:31 -06:00
Kamran Ayub
21d942b178
fix(QueryCache): Use default configuration used for QueryCache instance for context (#808) v2.5.10
* Add failing test

* useConfigContext should use queryCache configRef, which will be defaultConfigRef by default

* ci

* Add failing test

* useConfigContext should use queryCache configRef, which will be defaultConfigRef by default

* use accessor

* Update for TS

* Add failing test for associated queries

* Add failing test for notifyGlobalListeners

* rename to defaultQueryCache in module scope to catch name conflicts

* Fix passing incorrect queryCache ref
2020-07-31 15:10:19 -06:00
Kamran Ayub
46a5584512
fix(types): Fix defaultConfig typing for makeQueryCache (#807)
* Add failing type test

* Add failing error test

* Passing type test

* revert settings.json dangit

* ci
2020-07-31 15:06:41 -06:00
Jonathan Stoye
cbb90f37e2
chore: missing colons in issue template (#800) 2020-07-31 15:05:02 -06:00
Niek Bosch
381dbe2e09
fix: check if the document global exists before usage (#817) v2.5.9 2020-07-30 06:36:24 -06:00
Michaël De Boey
126790ba96
refactor: Update useBaseQuery.ts (#813) v2.5.8 2020-07-29 16:56:42 -06:00
Michaël De Boey
ac944144d4
fix: Update utils.ts (#812) 2020-07-29 16:55:52 -06:00
Michaël De Boey
51bb60fedc
fix: Update setFocusHandler.ts (#811) v2.5.7 2020-07-29 16:47:42 -06:00
Niek Bosch
e23f9343fa
refactor: add typescript support (#767) 2020-07-29 14:47:01 -06:00
Tanner Linsley
d6b1f4bad9 docs: fix RQE callout padding 2020-07-29 10:38:54 -06:00
Tanner Linsley
77c7b5c8d9 docs: improve RQE callout colors 2020-07-29 10:38:31 -06:00
Tanner Linsley
5a8a1a9f6c docs: improve RQE callout 2020-07-29 10:35:55 -06:00
Tanner Linsley
953c8696a4 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-07-28 10:03:42 -06:00
Tanner Linsley
15b9c9b3be docs: add course banner 2020-07-28 10:03:40 -06:00
rj-morgan
7bc83d07eb
docs: fix broken links (#803) 2020-07-27 20:36:57 -06:00
rj-morgan
d0a01e88a0
docs: fix code for custom mutation hook (#802) 2020-07-27 19:26:19 -06:00
Tanner Linsley
52468e1347 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-07-27 08:53:07 -06:00
Tanner Linsley
c3711e7dd2 docs: add learn link 2020-07-27 08:51:36 -06:00
Nico H
99fa7a095e
docs: fixes markdown links (#796)
* docs: fixes markdown links

Dependent Queries & Query Keys are pointing to api.md headers when they're documented in /guides/queries/(...)

* docs: fixes links with mk extension
2020-07-27 07:03:33 -06:00
Daniel Eze
91c10d8990
docs: simple documentation update 🙂 (#794) 2020-07-24 08:35:37 -06:00
Tanner Linsley
e3740ed4d3
Update comparison.md 2020-07-23 22:06:06 -06:00
Tanner Linsley
4d1c5c17a7 docs: update fans 2020-07-23 14:40:04 -06:00
mackie
4fd0725330
docs(ssr): fix typo (#792) 2020-07-22 20:17:37 -06:00
Tucker Whitehouse
2c49b5d29c
fix(ReactQueryConfigProvider): correctly update defaultConfigRef (#775) v2.5.6
`useConfigContext` will always be populated. Checking the context value before defaultConfig update
2020-07-22 10:01:44 -06:00