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

5,395 commits

Author SHA1 Message Date
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
Adib Firman
84139325de
docs: add axios library to prefetching example (#791) 2020-07-22 09:57:29 -06:00
Anders D. Johnson
270fa0f423
docs: fix typo for initialData API (#788) 2020-07-21 16:35:21 -06:00
Tanner Linsley
bc22de055e Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-07-21 12:17:35 -06:00
Tanner Linsley
27dd824ad0 Update logo.sketch 2020-07-21 12:17:32 -06:00
Niek Bosch
8766a35d2c
fix: reduce the number of renders (#754) v2.5.5 2020-07-21 10:35:44 -06:00
Matthis Duclos
b6b05d5e7a
docs: fix fetchMoreVariableOverride description (#786)
There was a reference to a previous API instead of `getFetchMore`
2020-07-21 09:32:23 -06:00
Alexandre Da Costa
3896f0db5f
docs: Add missing isStale in api.md (#784) 2020-07-20 10:59:51 -06:00
Dragoș Străinu
b01d26973d
chore: remove jump2header, doctoc scripts (#781)
As react-query docs are now on a separate site maybe there is no need for jump2header, doctoc scripts
2020-07-19 19:22:53 -06:00
Nguyen You
21e160d86f
docs: fixed a typo (#779) v2.5.4 2020-07-17 19:42:55 -06:00
Tucker Whitehouse
7ac9238e4f
fix(queryCache): merge defaultConfig options (#774)
Providing a `defaultConfig` to `makeQueryCache` will merge `shared`, `queries`, and `mutations`
objects instead of overwriting. This allows you to configure only some options.
2020-07-17 15:31:23 -06:00
Jeremy Liberman
8b5a209c43
docs: refactor search modal (#773)
* docs: refactor search modal

  - state/Modal has been moved into a SearchProvider
  - <Search /> is basically just the UI "button"
  - keyboard shortcut works everywhere
  - rendering <Search /> twice won't trigger 2 modals

* fix: weird layout squish
2020-07-17 15:29:20 -06:00
Tanner Linsley
5e86d334e5 fix: force patch release v2.5.3 2020-07-17 11:30:28 -06:00
Alex Young
b8fb0653e9 docs: Update overview.md (#771)
Some small grammatical fixes
2020-07-17 11:30:28 -06:00
Maxim
29b9233f9f fix(ReactQueryCacheProvider): use shared queryCaches (#768)
`ReactQueryCacheProvider` uses own `queryCaches`, looks like a typo after refactoring.

Due to that typo, `onWindowFocus` is completely broken when isolated query cache is used.
2020-07-17 11:30:28 -06:00
Tanner Linsley
ff20232cdc docs(examples): fix infinite scroll example to stop loading when it should
Closes #766
2020-07-17 11:30:28 -06:00
Fredrik Höglund
2e4e941ae4 fix(queryCache): caches from makeQueryCache should be unfrozen/cache by default in node (#749)
Fix so the default behaviour matches the one described in the Readme.
Add tests for the above behaviour.

Closes #706
2020-07-17 11:30:28 -06:00
Tucker Whitehouse
c227b2c3e9 feat(queryCache): pass query to subscribers (#765)
Any cache update triggered by a query will pass the query as the second argument to subscribers.
This enables executing side-effects for specific query updates.
2020-07-17 11:30:28 -06:00
Kamran Ayub
3e1880fbb4
fix(types): pass TError down to CachedQueryState (#763) v2.4.21 2020-07-16 11:03:15 -06:00
Andrew Bazhanov
ba7f5ff9c4
fix(types): add queryFn to ReactQueryProviderConfig (#762) v2.4.20 2020-07-16 09:08:44 -06:00
Otacilio Lacerda
6020706169
fix:(prefetchQuery): override default retry behaviour to false (#760) 2020-07-16 09:02:26 -06:00
Brandon Orther
ef9d47b1f7
docs: Update updates-from-mutation-responses.md (#759) 2020-07-15 17:13:22 -06:00
Tanner Linsley
ba48a923fa docs: fix documentation sidebar breakpoint 2020-07-15 15:48:36 -06:00
Tanner Linsley
b44a33c01d fix: make query info object stable v2.4.19 2020-07-15 13:51:02 -06:00
Bene
67394db8c4
fix: use generic Error type in ReactQueryProviderConfig.queries (#742) v2.4.18 2020-07-15 13:27:04 -06:00
Tanner Linsley
046f354d93 docs: update example dependencies and lock files 2020-07-15 11:41:48 -06:00
Akhil
142b995ea4
docs: add missing options in useQuery's api reference (#753) v2.4.17
useQuery's API reference code is missing these while they are in the options below it - refetchIntervalInBackground, initialData, initialStale,
2020-07-15 03:39:59 -06:00
Krisztiaan
316bce50f5
fix(types): make options undefinable (#752)
better composition support
2020-07-14 19:41:12 -06:00
Tanner Linsley
a2d1f76b6a Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-07-14 16:37:30 -06:00
Tanner Linsley
2a97ee50aa docs: fix newsletter popup on mobile 2020-07-14 16:37:25 -06:00
Alexander Kachkaev
1baa539ccc
types: Fix typings for cache.clear({ notify: false }) (#750) 2020-07-14 10:12:12 -06:00
Kevin Sullivan
7dfa58a76a
docs: remove promise from useMutation (#747)
* fix(types): remove promise from useMutation

* docs: remote promise from useMutation
2020-07-14 00:22:54 -06:00
Kevin Sullivan
2d0d215944
fix(types): remove promise from useMutation (#746) v2.4.16 2020-07-13 20:25:06 -06:00
Raouf
6b0cd191a4
docs: fix incorrect active nav link (#741) 2020-07-11 10:00:44 -06:00
Michael Rambeau
0051b915e2
Add Best of JS badge to README.md (#739)
Add a badge showing the number of stars on GitHub added yesterday, from Best of JS data
2020-07-11 05:54:36 -06:00
Tanner Linsley
dbd6e95224
Update comparison.md 2020-07-10 21:24:05 -06:00
Bene
52ce234d4f
fix: include undefined in IniniteQueryResult data type (#738) v2.4.15
* fix: include undefined in IniniteQueryResult data type

* fix: dtslint

Co-authored-by: Benedikt <benedikt.viebahn@bringmeister.de>
2020-07-10 19:23:52 -06:00
Raouf
119fe8cf3c
docs: docsearch is rendered twice with keyboard shortcuts (#733)
* fix: docsearch is rendered twice with keyboard shortcuts

* fix: docsearch is rendered twice with keyboard shortcuts in small screens
2020-07-10 11:55:41 -06:00
Tanner Linsley
c30f4241fb Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-07-10 09:34:25 -06:00