* docs(angular/guides/testing): advance fake timers and run 'detectChanges' in the component examples with 'TestBed' and Angular Testing Library instead of awaiting 'whenStable'
* docs(angular/guides/testing): add the 'TestBed.runInInjectionContext' variant to the component examples
* docs(angular/guides/testing): advance fake timers in the infinite query example instead of awaiting 'whenStable'
* docs(angular/guides/testing): restore real timers in 'afterEach' in the infinite query example
* docs(angular-query-experimental): add 'readonly' and use descriptive names for class fields in guide examples
* docs(angular-query-experimental): use descriptive names for class fields in 'placeholder-query-data.md'
docs(angular): add missing replace rules for background-fetching-indicators
- Add replace rules to convert React terminology to Angular equivalents
- Fixes useIsFetching -> injectIsFetching conversion in prose text
- Adds hook -> function terminology conversion
- Includes package name conversion for @tanstack/react-query
- Resolves Issue #9744
* 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>
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.
* 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>