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

85 commits

Author SHA1 Message Date
Arnoud
7ff544e12e
docs(angular-query): improve queryOptions code snippets (#8601) 2025-02-02 19:26:57 +01:00
Ayush Seth
6184a89354
docs(angular-query): remove outdated comment from example
* Update invalidations-from-mutations.md

* Update invalidations-from-mutations.md

* restore first code snippet

---------

Co-authored-by: Arnoud de Vries <6420061+arnoud-dv@users.noreply.github.com>
2025-01-03 16:54:42 +01:00
Arnoud
5731a3a267
feat(angular-query): add mutationOptions (#8316) 2024-11-20 13:58:00 +01:00
Arnoud
6a9edbfb44
docs(angular-query): update queryOptions documentation (#8311)
* docs(angular-query): update queryOptions documentation

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-19 23:57:22 +01:00
Arnoud
4aff8469aa
fix(angular-query): remove queryClient parameter from callback functions (#8307) 2024-11-19 19:32:49 +01:00
Arnoud
0df28830a7
docs(angular-query): type narrowing (#8297) 2024-11-15 18:48:03 +01:00
Arnoud
118b1522ef
docs(angular-query): add TypeScript documentation (#8296) 2024-11-15 18:35:16 +01:00
Arnoud
923736c62e
fix(angular-query): support inject(QueryClient) (#8292)
* fix(angular-query): support inject(QueryClient)

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-14 22:48:46 +01:00
Arnoud
2459701116
feat(angular-query): add withDevtools and injectDevtoolsPanel 2024-11-07 16:18:52 +01:00
Arnoud
4977296fe9
docs(angular-query): update overview and readme (#7994) 2024-08-31 02:13:26 +02:00
Lanre Adelowo
639363c769
docs: make copyable example useful by default (#7928)
When copying the command, the $ appears in the copied text which makes a tiny text processing required - i.e removing the prefix. Instead of being able to just paste in a terminal and get going.

This mimics the behaviour of all commands everywhere else in the docs I could find. e.g https://tanstack.com/query/latest/docs/framework/react/installation
2024-08-21 13:18:15 +02:00
Shubh Porwal
c7fb5fddc8
docs: fix typos (#7898)
* fix(docs): `instead` typo

* fix(docs): `optimizes` typo

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-08-19 14:20:53 +02:00
Jay
3292791219
docs: divided installation scripts (#7881) 2024-08-19 10:36:40 +02:00
Lachlan Collins
f2fd31853b
docs(typedoc): use sub-folders for reference docs (#7803) 2024-07-27 13:03:44 +10:00
Lachlan Collins
144d3a8d90
docs(typedoc): Update output filename (#7764)
* docs: Update typedoc output filename

* Run prettier
2024-07-19 19:52:50 +10:00
Minko Gechev
27861961bb
docs: update the syntax highlighting for angular (#7762) 2024-07-19 11:36:35 +02:00
Arnoud
89e1fbe5ef
docs(angular-query): angular zoneless support (#7600) 2024-06-21 00:57:31 +02:00
Mandeep56Singh
62841b6217
docs(installation):remove prompt symbol from installation commands(#7293) (#7540)
Installation commands for various framework includes prompt symbol.
On execution of same commands IDE throws error
as IDEs by default includes prompt symbol.
This commit resolve this issue
2024-06-10 07:01:06 +02:00
Shahar Har-Shuv
d03224770d
docs(angular-query): update disabling-queries.md (#7332) 2024-05-04 20:37:15 +02:00
Arnoud
10bdb08f05
docs(angular-query): update quick start and readme (#7378) 2024-05-04 20:09:55 +02:00
fuko
8fa82653dd
docs: fix broken internal links in the query docs (#7247)
* wip - 1

* Fix more links

* Fix one more link

* Another one

* Update a link

* Fix the broken links in the Angular docs

* Fix the broken links in the Vue docs

* Fix the Svelte links in the docs

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-04-22 10:38:13 +02:00
Tanner Linsley
754640a3e5
docs: migrate docs to use path-based navigation instead of route-based (#7211)
TanStack Router uses path-based navigation instead of route-based navigation, so many of the relative documentation links will be invalid after migration. This fixes that.
2024-04-02 16:46:31 -06:00
Michelle Johnson
d4def6ba7e
feat(query-devtools): Add shadowDOMTarget property to react-query-devtool (#7005)
* feat(devtools): add shadowDOMTarget prop to vue, svelte, angular and solid
2024-03-11 22:19:54 -04:00
Jaaneek
77d5b2eaec
feat: add typesafe query disabling via skipToken (#6999)
* feat: add typesafe react-query disabling via skipToken

* feat: add unique identifier to skip token

* feat(query-core): implement skipToken

* chore(query-core): refactor logic of skipToken

* feat(react-query): do not allow skipToken in useSuspenseQuery

* feat(react-query): handle skip token in suspense react queries, add tests

* refactor(query-core): remove check for queryFn === skipToken, enabled is set to false instead

* refactor(query-core): remove check for queryFn === skipToken, enabled is set to false instead

* chore(react-query): remove unused imports

* fix(react-query): update test to display error message in error boundary

* fix(query-core): reduce bundle size by using Symbol() instead of Symbol.for

* fix(query-core): move check for skipToken into already existing if statement

* refactor(query-core): remove no longer needed check for skipToken

* refactor(query-core): make sure enabled===true takes precendence over skipToken

* refactor(react-query): remove unnecesary check for skipToken

* feat: bring back logging in dev mode

* docs: use `skipToken` in TypeScript examples

* refactor: remove checks that shouldn't be necessary because we now assign `enabled` in `defaultQueryOptions`

* types: adjust useQueries types in non-react adapters

* fix: infiniteQueryBehavior needs to _create_ a function that rejects if we have a skipToken, not reject right away

* refactor: flip condition

* try to fix query options

* fix: make core compilable

* fix: allow skipToken on type level for useSuspenseQuery and warn at runtime

it won't work anyways

* test: dataTag + skipToken

* chore: remove a test that doesn't make much sense

* chore: solid tests

* chore: stabilize test

* rewrite test

* test(react-query): remove not needed doNotExecute from test, test-d.tsx files are not executed anyway

* docs(react-query): add example of skipToken into react-query disabling-queries docs

* docs: update disabling queries examples in Angular, React, and Vue guides

* docs: add description of skipToken to typescript.md

* test(react-query): add unique queryKey to should respect skipToken test

* test(react-query): use helper function instead of string in should respect skipToken test

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-03-05 15:55:01 +01:00
Ekam Ahuja
d83aa272fb
docs: Updated installation commands with bun package manger (#6971) 2024-02-25 10:15:32 +01:00
Arnoud
ef1f7c1e37
feat(angular-query): injectMutationState (#6925)
* feat(angular-query): inject mutation state

* add type tests
2024-02-18 14:43:53 +01:00
Arnoud
65a55409a9
docs(angular-query-devtools): button position relative (#6911) 2024-02-16 23:34:19 +01:00
Arnoud
c2dc9bb05a
feat(angular-query): injectInfiniteQuery (#6808) 2024-02-04 22:42:16 +01:00
Arnoud
abd90dbf3f
docs(angular-query): improve basic example (#6834)
* docs(angular-query): improve basic example

* docs(angular-query): update README
2024-02-04 17:25:16 +01:00
Arnoud
8ad35041e7
fix(angular-query): support angular v16 (#6833) 2024-02-04 14:54:29 +01:00
Arnoud
8fff654920
docs(angular-query): run prettier on quickstart (#6782) 2024-01-27 16:46:35 +01:00
Michael Be
e726e698e2
docs(angular-query): Update quick-start.md (#6775)
* angular-query: Update quick-start.md

Some minor fixes to update the quick start example to a version which would actually compile

* docs(angular-query): add QueryClient import

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-01-27 16:33:10 +01:00
Lachlan Collins
5a5b61b19b
docs: Fix relative link depth (#6778) 2024-01-26 19:53:40 +11:00
Lachlan Collins
9739c8d12c
docs: Fix path in refs field (#6774) 2024-01-26 14:31:25 +11:00
Lachlan Collins
0cdbd5a198
docs: Re-organise for new docs layout (#6763)
* docs: Re-organise for v2 docs layout

* Add $schema
2024-01-26 07:57:22 +11:00