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

5,011 commits

Author SHA1 Message Date
Damian Osipiuk
7e51776bff
feat: notify about observer options change (#3989) v4.1.0 2022-08-11 20:14:34 +02:00
Jake Baker
57da15ed6e
docs: Updating testing docs for React 18. (#4023) 2022-08-11 20:03:11 +02:00
Michal Tecza
fa7f13c41b
docs(examples): Migrate star wars example to vite (#3957)
* docs(examples): migrate examples/react/star-wars to vite - adjust file structure

* docs(examples): migrate examples/react/star-wars to vite
2022-08-11 17:55:48 +02:00
Michal Tecza
46b0aee00a
docs(examples): Migrate rick and morty example to vite (#3958)
* docs(examples): migrate examples/react/rick-and-morty to vite - adjust file structure

* docs(examples): migrate examples/react/rick-and-morty to vite
2022-08-11 17:55:13 +02:00
Michal Tecza
eb2da76592
docs(examples): Migrate playground example to vite (#3955)
* docs(examples): migrate examples/react/playground to vite - adjust file structure

* docs(examples): migrate examples/react/playground to vite
2022-08-11 17:54:58 +02:00
Michal Tecza
b3cbb85bef
docs(examples): Migrate default query function example to vite (#3954)
* docs(examples): migrate examples/react/default-query-function to vite - adjust file structure

* docs(examples): migrate examples/react/default-query-function to vite
2022-08-11 17:54:51 +02:00
Michal Tecza
f87a9986e5
docs(examples): Migrate suspense example to vite (#3953)
* docs(examples): migrate examples/react/suspense to vite - adjust file structure

* docs(examples): migrate examples/react/suspense to vite
2022-08-11 17:54:42 +02:00
Michal Tecza
7ae3caf2bd
docs(examples): Migrate basic graphql request example to vite (#3952)
* docs(examples): migrate examples/react/basic-graphql-request to vite - adjust file structure

* docs(examples): migrate examples/react/basic-graphql-request to vite
2022-08-11 17:54:21 +02:00
Michal Tecza
8092dc2dd8
docs(examples): Migrate offline example to vite (#3959) 2022-08-11 17:38:14 +02:00
Nick McCurdy
48ab80242b
docs: add missing languages (#3978) 2022-08-11 17:37:27 +02:00
nhducit
fa7e0a5da4
docs: Update Vue-query document: rename Solid to Vue (#4001) 2022-08-11 17:37:06 +02:00
Ian Duvall
2e2bf69d65
docs(query-functions.md): fix broken links (#3969)
Removes `.md` from the end of links.
2022-08-11 17:36:18 +02:00
Nicolás Len
afdd554d64
docs: Fixed some broken links (#3998) 2022-08-11 17:35:36 +02:00
doinki
81dee1e5bb
chore(devtools): Add peerDependencies (#4000) 2022-08-11 17:34:04 +02:00
Damian Osipiuk
1d9c2120ce
chore: allow to dispatch publish with tag override (#4014) 2022-08-10 08:58:37 +02:00
Daniel González Reina
ba857051a7
docs: Update code example to use v4 convention (#4010) 2022-08-09 21:08:16 +02:00
Michael Floering
e6df356edd
docs: fix link to the offline example (#3996) 2022-08-08 18:14:37 +02:00
nic01
2861b53261
docs(queryCache): Fixed incorrect syntax (#3940) 2022-07-30 08:05:24 +02:00
Michal Tecza
1fdab1514f
chore(examples): improve simple example
* build(examples): update README.md to reflect new way to run simple example

* build(examples): provide "main" property in package.json to point embedded codesandbox to index.jsx file
2022-07-29 11:27:14 +02:00
Gavin Sharp
a8b0a3bb05
docs(useQuery): clarify behaviour of useQuery "select" with regard to caching (#3933)
Clarify that the `select` function passed to `useQuery` does not affect what gets cached; it only affects what gets returned to the consumer.
2022-07-28 16:07:46 +02:00
Adam Norðfjörð Viðarsson
454c58481f
Already checked in line 566. (#3915)
* Already checked in line 566. (╯°□°)╯︵ ┻━┻

* Well done spotting this @TkDodo
2022-07-27 11:57:10 +02:00
Dominik Dorfmeister
eaf322b643
docs: resurrect contributing.md 2022-07-26 07:58:36 +02:00
Michal Tecza
d16e0c5069
docs(examples): migrate examples/react/simple to vite 2022-07-26 07:51:44 +02:00
Nabil Ridhwan
f6eeab079d
docs: Update documentation to point to the new CDN link (latest v4) (#3906) 2022-07-24 20:00:11 +02:00
dougseismic
2e93a7bfa1
docs: Missing QueryClientProvider import in example. (#3907) 2022-07-24 19:59:23 +02:00
Bryan Hoang
0ff22cb39f
docs(disabling-queries): fix typo of missing 'a' in declarative (#3908) 2022-07-24 19:58:41 +02:00
Steffen Holanger
e9d62f4e12
docs: Fix a typo and add install command (#3876) 2022-07-23 11:03:37 +02:00
Binaya Chaudhary
9adb6b55a6
docs: fix Suspense Example codesandbox link (#3896) 2022-07-22 14:02:01 +02:00
Binaya Chaudhary
c45a2ea285
docs: fix codesandbox link of overview example code (#3897) 2022-07-22 13:42:39 +02:00
Marco Biedermann
9953235d53
docs: Update react-query.md (#3900) 2022-07-22 13:41:42 +02:00
Dominik Dorfmeister
7ae67bb383
docs: reformat codemod blocks
this should fix the layouting of the migration page
2022-07-21 13:05:15 +02:00
Dominik Dorfmeister
d20e1d8bcf
docs: fix layout of v4 migration page 2022-07-21 12:54:21 +02:00
Tanner Linsley
9e47882482 release: v4.0.10 2022-07-21 09:57:25 +00:00
Songkeys
1c4e005ecc
fix(react-query-devtool): correct the noop entry for cjs (#3893) v4.0.10
RELEASE_ALL
2022-07-21 11:49:54 +02:00
Tanner Linsley
7ed20b5e3d release: v4.0.9 2022-07-21 08:04:40 +00:00
Juan Henriquez
5c8192746f
fix(react-query): allow passing options to useQuery without initialData (#3873) v4.0.9
* fix(react-query): allow passing options to useQuery without initialData

* fix: switch DefinedUseQueryResult for UseQueryResult

* fix: add function overload that returns DefinedUseQueryResult

* fix: move new overload functions to the end

* chore: add new overloads to the other versions of the useQuery hook
2022-07-21 09:57:24 +02:00
Dominik Dorfmeister
e140b6cf32
docs: fix next-js based examples (#3891) 2022-07-21 09:47:25 +02:00
Tanner Linsley
2c44e5355c release: v4.0.8 2022-07-20 19:11:13 +00:00
Dominik Dorfmeister
150da1e4d5
fix: force release v4.0.8
RELEASE_ALL
2022-07-20 21:03:24 +02:00
Dominik Dorfmeister
43616bace5
docs: fix all relative links starting with ./ (#3886) 2022-07-20 20:48:00 +02:00
Tanner Linsley
6e5c8828ae release: v4.0.7 2022-07-20 17:53:13 +00:00
Songkeys
7eebeb0bb6
fix(react-query-devtools): support cjs in noop build (#3884) v4.0.7
* fix(react-query-devtools): support cjs in noop build

* fix: typo
2022-07-20 19:46:13 +02:00
Dominik Dorfmeister
77e069a6e2
docs: fix links 2022-07-20 17:41:50 +02:00
Tanner Linsley
712e06a270 release: v4.0.6 2022-07-20 15:03:15 +00:00
Dominik Dorfmeister
0fda41a56c
fix(react-query-devtools): only export devtools in development mode (#3861) v4.0.6 2022-07-20 16:55:58 +02:00
Iakov Khovalkin
de937e7f4b
docs: Change Query Keys Url (#3878)
* Change Query Keys Url

Current url doesn't work. Replaced it with working one.

* Update docs/guides/query-functions.md

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2022-07-20 15:47:09 +02:00
Dominik Dorfmeister
9537fe961c
chore: speedup pr runs in ci (#3864)
only run compile, lint and prettier checks once; tests still run twice against react17
2022-07-19 16:26:43 +02:00
Tanner Linsley
7a72e4de48 release: v4.0.5 2022-07-19 13:33:12 +00:00
Tanner Linsley
2587b23e8b fix: force release v4.0.5
RELEASE_ALL
2022-07-19 07:25:19 -06:00
Douglas Parsons
75cea4d537
docs: Change docs code-snippet types to tsx (#3857)
* Change docs code-snippet types to tsx

The tanstack.com site shows the code-snippets as `bash` as a fallback,
as js is not expected as a language type. (see
[here](https://github.com/TanStack/tanstack.com/blob/main/app/components/CodeBlock.tsx)
for allowed language types).

In addition to allowing JS as a snippet type (https://github.com/TanStack/tanstack.com/pull/17),
changing the documentation to be `tsx` ensures that syntax
highlighting and the language type appears correct.

* Apply suggestions from code review

* Update docs/guides/disabling-queries.md

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2022-07-19 15:14:39 +02:00