Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
1d3ee67
feat: beta release (#5771)
TkDodo Jul 24, 2023
39ca48c
chore: trigger release
TkDodo Jul 24, 2023
7145922
release: v5.0.0-beta.0
tannerlinsley Jul 24, 2023
5c6d98d
chore: Fix Nx config for beta branch
lachlancollins Jul 24, 2023
724cd0b
fix: Update solid dependencies (#5773)
lachlancollins Jul 24, 2023
31d43d9
release: v5.0.0-beta.1
tannerlinsley Jul 24, 2023
38dcb2c
fix: codemods build command (#5776)
davidjbng Jul 25, 2023
015abed
release: v5.0.0-beta.2
tannerlinsley Jul 25, 2023
1f74575
docs: examples to beta (#5772)
TkDodo Jul 25, 2023
3d67644
fix: Add missing react peer dependencies (#5779)
lachlancollins Jul 25, 2023
1c12533
release: v5.0.0-beta.3
tannerlinsley Jul 25, 2023
befad58
chore: Exclude react-query/build/codemods from pnpm workspace (#5781)
lachlancollins Jul 25, 2023
7bfecd6
fix(solid-query): hydrate preloaded data correctly (#5775)
Jul 25, 2023
e1f8e79
release: v5.0.0-beta.4
tannerlinsley Jul 25, 2023
1aa384c
chore: Update to publint 0.2.0 (#5792)
lachlancollins Jul 26, 2023
91db133
Merge remote-tracking branch 'origin/main' into beta
TkDodo Jul 28, 2023
a2d81ac
fix(eslint-plugin-query): Update build entry files (#5798)
lachlancollins Jul 28, 2023
251fb6f
release: v5.0.0-beta.5
tannerlinsley Jul 28, 2023
6fcfc9b
feat: no retries on the server (#5802)
TkDodo Jul 29, 2023
39b14fa
release: v5.0.0-beta.6
tannerlinsley Jul 29, 2023
ff798fc
fix(types): useQuery types (#5803)
TkDodo Jul 29, 2023
53d2d69
release: v5.0.0-beta.7
tannerlinsley Jul 29, 2023
1d36680
fix(types): infer the narrowest type with `queryOptions` (#5805)
Andarist Jul 31, 2023
5275035
release: v5.0.0-beta.8
tannerlinsley Jul 31, 2023
8d5e08f
feat(infiniteQuery): type pageParams and allow null cursors (#5811)
juliusmarminge Jul 31, 2023
843fffb
release: v5.0.0-beta.9
tannerlinsley Jul 31, 2023
07ddcd1
fix(eslint-plugin-query): Reorganise internal modules (#5821)
lachlancollins Aug 1, 2023
9259866
release: v5.0.0-beta.10
tannerlinsley Aug 1, 2023
89e3c07
fix(vue-query): prevent uncaught exception in suspense() (#5825)
DamianOsipiuk Aug 1, 2023
fd804b2
release: v5.0.0-beta.11
tannerlinsley Aug 1, 2023
ca5081d
fix(vue-query): useErrorBoundary support in useQuery and useMutation …
DamianOsipiuk Aug 1, 2023
b3301ac
release: v5.0.0-beta.12
tannerlinsley Aug 1, 2023
b20f1f7
feat(react-query): useSuspenseQueries (#5836)
TkDodo Aug 4, 2023
5e83bd3
release: v5.0.0-beta.13
tannerlinsley Aug 4, 2023
bdeb1da
Merge branch 'main' into beta
TkDodo Aug 4, 2023
1569803
Merge remote-tracking branch 'origin/beta' into beta
TkDodo Aug 4, 2023
038be27
release: v5.0.0-beta.14
tannerlinsley Aug 4, 2023
4307a80
docs(react-query): update returning type (#5838)
manudeli Aug 4, 2023
c6748fb
Merge remote-tracking branch 'origin/main' into beta
TkDodo Aug 5, 2023
0a87454
release: v5.0.0-beta.15
tannerlinsley Aug 5, 2023
047005e
docs(query-cancellation): reflect AbortController is now required (#5…
CoolSpring8 Aug 5, 2023
3a16867
fix(types): initialData function that returns undefined should still …
TkDodo Aug 15, 2023
31f6b2d
release: v5.0.0-beta.16
tannerlinsley Aug 15, 2023
7f69223
test: silence error console in tests where known errors are thrown
TkDodo Aug 15, 2023
74f7970
perf(vue-query): avoid unnecessary deep watch (#5842)
Mini-ghost Aug 19, 2023
787efb5
release: v5.0.0-beta.17
tannerlinsley Aug 19, 2023
3aa0680
refactor(infinite-queries): rename defaultPageParam to initialPagePar…
Moshyfawn Aug 20, 2023
4a90793
release: v5.0.0-beta.18
tannerlinsley Aug 20, 2023
94d6b6b
fix(infinite query): fix inferrence issue (#5892)
ecyrbe Aug 21, 2023
770d454
release: v5.0.0-beta.19
tannerlinsley Aug 21, 2023
13b17ee
chore(eslint): set array-type lint rule to generic (#5899)
TkDodo Aug 22, 2023
78d473d
docs(use-queries): fix documented examples (#5902)
peter-mouland Aug 25, 2023
5e958af
perf(vue-query): reduce unnecessary `computed()` in useIsFetching (#5…
Mini-ghost Aug 25, 2023
6d0538a
release: v5.0.0-beta.20
tannerlinsley Aug 25, 2023
8cedf5c
docs: update suspense.md (#5923)
rliljest Aug 29, 2023
f97742e
feat(solid-query-persist-client): Solid.js implementation of client p…
aadito123 Aug 29, 2023
a496b3d
release: v5.0.0-beta.21
tannerlinsley Aug 29, 2023
a0fae50
feat(vue-query): support injectable contexts (#5886)
posva Aug 30, 2023
395a9a1
release: v5.0.0-beta.22
tannerlinsley Aug 30, 2023
98c0803
docs(vue-query): fix migration guide link, add `injectionContext` sec…
DamianOsipiuk Aug 30, 2023
dfad1cf
docs: fix typo in optimistic-updates.md (#5960)
heloineto Sep 5, 2023
79632e3
Merge remote-tracking branch 'origin/main' into beta
DamianOsipiuk Sep 7, 2023
6ac08b4
chore: Merge remote-tracking branch 'origin/main' into beta (#5974)
TkDodo Sep 7, 2023
45ef8f8
feat: suspense error handling (#5979)
TkDodo Sep 8, 2023
6a14854
release: v5.0.0-beta.23
tannerlinsley Sep 8, 2023
6d159a7
fix(vue-query): reduce unnecessary type flexibility on QueryClient op…
Mini-ghost Sep 10, 2023
1833366
release: v5.0.0-beta.24
tannerlinsley Sep 10, 2023
3f057a2
feat(types): validate queryOptions (#5991)
TkDodo Sep 12, 2023
4eae428
release: v5.0.0-beta.25
tannerlinsley Sep 12, 2023
34ad882
feat: Svelte implementation of client persistence (#5928)
aadito123 Sep 13, 2023
1248954
release: v5.0.0-beta.26
tannerlinsley Sep 13, 2023
9476f82
fix(types): ensureQueryData TError default type (#6008)
klarstrup Sep 14, 2023
2d41d98
release: v5.0.0-beta.27
tannerlinsley Sep 14, 2023
3cba6d8
Hydrate existing queries in a useEffect (#5989)
Ephem Sep 15, 2023
462c557
feat: fine grained storage persister (#5125)
DamianOsipiuk Sep 15, 2023
053a4b6
release: v5.0.0-beta.28
tannerlinsley Sep 15, 2023
abd93c2
test: nextjs integration (#6014)
TkDodo Sep 15, 2023
35539bf
Merge branch 'main' into beta
TkDodo Sep 16, 2023
db36007
chore: fix merge conflicts
TkDodo Sep 16, 2023
a00a9c1
test: try to fix vue tests
TkDodo Sep 16, 2023
66f45c8
release: v5.0.0-beta.29
tannerlinsley Sep 16, 2023
f7ead29
Merge branch 'main' into beta
TkDodo Sep 16, 2023
9ec3fce
chore: fix prettier
TkDodo Sep 16, 2023
79b513c
release: v5.0.0-beta.30
tannerlinsley Sep 16, 2023
dc4f24d
fix(types): widen types for structuralSharing
TkDodo Sep 17, 2023
cc9bab7
test: fix test
TkDodo Sep 17, 2023
6582671
release: v5.0.0-beta.31
tannerlinsley Sep 17, 2023
a8f0451
Merge branch 'main' into beta
TkDodo Sep 18, 2023
9b0244c
release: v5.0.0-beta.32
tannerlinsley Sep 18, 2023
511f247
fix(devtools): fix restore/trigger loading condition (#6010)
judicaelandria Sep 18, 2023
7760ee5
release: v5.0.0-beta.33
tannerlinsley Sep 18, 2023
cb15a2a
fix(query-devtools): Fix styling issues in devtool (#6032)
ardeora Sep 19, 2023
4e6bf29
release: v5.0.0-beta.34
tannerlinsley Sep 19, 2023
1948a6f
feat(query-core): default networkMode to 'offlineFirst' when persiste…
TkDodo Sep 22, 2023
bd498e1
release: v5.0.0-beta.35
tannerlinsley Sep 22, 2023
f741dd2
feat(query-devtools): Add clear cache and remove btns (#6051)
ardeora Sep 24, 2023
5c08088
release: v5.0.0-beta.36
tannerlinsley Sep 24, 2023
9b55692
docs(devtools): update devtools installation version (#6057)
femincan Sep 25, 2023
4c9039d
feat(query-devtools): Devtools Compact UI (#6055)
ardeora Sep 25, 2023
466321b
release: v5.0.0-beta.37
tannerlinsley Sep 25, 2023
3e1f3ce
test(types): replace expectType to vitest's expectTypeOf (#6048)
manudeli Sep 25, 2023
27b31f3
feat: rc release (#6058)
TkDodo Sep 25, 2023
ce2c445
chore: rc release
TkDodo Sep 25, 2023
45055de
release: v5.0.0-rc.1
tannerlinsley Sep 25, 2023
05bfd3e
docs: get examples to point to rc branch
TkDodo Sep 25, 2023
6e238af
docs: SSR rewrite (#5966)
Ephem Sep 26, 2023
1c4a94e
docs(useQuery): explain what an identity function is for placeholderD…
SeanCassiere Sep 28, 2023
bca6379
fix(react-query): useSuspenseInfiniteQuery needs to use defaultThrowO…
TkDodo Sep 29, 2023
bbb7f90
release: v5.0.0-rc.2
tannerlinsley Sep 29, 2023
cec8f6c
refactor(vue-query): Fix typos (#6084)
Colonel-Sandvich Oct 1, 2023
f94c28f
release: v5.0.0-rc.3
tannerlinsley Oct 1, 2023
497804e
Merge branch 'main' into rc
TkDodo Oct 2, 2023
d0f7238
release: v5.0.0-rc.4
tannerlinsley Oct 2, 2023
5874b2f
docs: SSR/prefetching docs fixes (#6110)
Ephem Oct 6, 2023
d669b2b
Merge remote-tracking branch 'origin/main' into rc
TkDodo Oct 8, 2023
4872c4b
feat(devtools): make data of queries editable (#5970)
bastibuck Oct 9, 2023
52c086b
release: v5.0.0-rc.5
tannerlinsley Oct 9, 2023
ba96f0b
Merge branch 'main' into rc
TkDodo Oct 10, 2023
1dc5758
feat: typed query key (#6119)
TkDodo Oct 10, 2023
14059f6
release: v5.0.0-rc.6
tannerlinsley Oct 10, 2023
cdc5061
fix(types): useSuspenseQuery can be in error state (#6129)
TkDodo Oct 10, 2023
a61958e
release: v5.0.0-rc.7
tannerlinsley Oct 10, 2023
a46bc87
fix(solid-query): Default `reconcile` to false (#6125)
ardeora Oct 10, 2023
d97e246
release: v5.0.0-rc.8
tannerlinsley Oct 10, 2023
b832b06
feat(solid-query-devtools): Add Devtools (#6130)
ardeora Oct 10, 2023
81f00b6
release: v5.0.0-rc.9
tannerlinsley Oct 10, 2023
dbfe8a0
chore(solid-query): Add devtools to examples (#6132)
ardeora Oct 11, 2023
48fe741
feat: allow editing of boolean values (#6131)
bastibuck Oct 11, 2023
9d5ea55
release: v5.0.0-rc.10
tannerlinsley Oct 11, 2023
46f99f0
feat(vue-query): let composables accepts `enabled` as a getter functi…
Mini-ghost Oct 11, 2023
f9164ed
release: v5.0.0-rc.11
tannerlinsley Oct 11, 2023
403699a
refactor: only pass query to refetchInterval function (#6128)
TkDodo Oct 12, 2023
c5af17e
release: v5.0.0-rc.12
tannerlinsley Oct 12, 2023
c7c32f1
feat(query-devtools): Add Light mode support (#6146)
ardeora Oct 13, 2023
42596ac
release: v5.0.0-rc.13
tannerlinsley Oct 13, 2023
9ed5a76
fix(query-devtools): Make devtools internal fields private (#6154)
ardeora Oct 14, 2023
8cb487b
release: v5.0.0-rc.14
tannerlinsley Oct 14, 2023
3ca4c64
fix(vue-query): update observer's options to latest value during susp…
Colonel-Sandvich Oct 15, 2023
f83fe47
release: v5.0.0-rc.15
tannerlinsley Oct 15, 2023
3ca1327
fix(types): useQueries can not infer type of TError (#6155)
liaoliao666 Oct 16, 2023
e3866de
chore: remove leftover dependency to client-only package
TkDodo Oct 16, 2023
b99ce8f
release: v5.0.0-rc.16
tannerlinsley Oct 16, 2023
7677c64
docs: remove references to suspense:boolean
TkDodo Oct 16, 2023
d33df62
Merge remote-tracking branch 'origin/main' into rc
TkDodo Oct 17, 2023
55b8f02
chore: suspense docs
TkDodo Oct 17, 2023
60bde96
docs: optimistic updates and examples
TkDodo Oct 17, 2023
eb462ac
chore: new repo-header.png
TkDodo Oct 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .browserslistrc

This file was deleted.

1 change: 1 addition & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"installCommand": "install:csb",
"buildCommand": "build:all",
"sandboxes": [
"/examples/react/basic-typescript",
"/examples/solid/basic-typescript",
Expand Down
7 changes: 6 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// @ts-check

/** @type {import('eslint').Linter.Config} */
const config = {
root: true,
parser: '@typescript-eslint/parser',
Expand All @@ -15,7 +18,7 @@ const config = {
},
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.base.json',
project: './tsconfig.json',
sourceType: 'module',
ecmaVersion: 2020,
},
Expand All @@ -31,6 +34,7 @@ const config = {
},
},
rules: {
'@typescript-eslint/array-type': ['error', { default: 'generic', readonly: 'generic' }],
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/consistent-type-imports': [
Expand All @@ -42,6 +46,7 @@ const config = {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-inferrable-types': [
'error',
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Run Tests
uses: nick-fields/retry@v2.8.3
with:
command: pnpm run test:ci --base=${{ github.event.before }}
command: pnpm run test:ci
timeout_minutes: 10
max_attempts: 3
- name: Publish
Expand Down
34 changes: 2 additions & 32 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get appropriate base and head commits for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'main'
main-branch-name: 'rc'
- run: |
echo "BASE: ${{ env.NX_BASE }}"
echo "HEAD: ${{ env.NX_HEAD }}"
Expand All @@ -46,7 +46,7 @@ jobs:
with:
timeout_minutes: 5
max_attempts: 3
command: npx nx affected --targets=test:eslint,test:lib,test:types,test:build
command: npx nx affected --targets=test:eslint,test:lib,test:types,test:build,test:bundle
- name: Stop Agents
run: npx nx-cloud stop-all-agents
- name: Upload coverage to Codecov
Expand Down Expand Up @@ -97,33 +97,3 @@ jobs:
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
- name: Run prettier
run: pnpm run test:format
test-react-17:
name: 'Test React 17'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: pnpm/action-setup@v2.2.4
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
- name: Run Tests
uses: nick-fields/retry@v2.8.3
with:
timeout_minutes: 5
max_attempts: 3
command: npx nx affected --targets=test:lib --base=${{ github.event.pull_request.base.sha }}
env:
NX_CLOUD_DISTRIBUTED_EXECUTION: false
REACTJS_VERSION: 17
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.19.0
v18.16.0
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<img src="https://static.scarf.sh/a.png?x-pxid=be2d8a11-9712-4c1d-9963-580b2d4fb133" />

![TanStack Query Header](https://github.com/TanStack/query/raw/beta/media/repo-header.png)
![TanStack Query Header](https://github.com/TanStack/query/raw/rc/media/repo-header.png)

Hooks for fetching, caching and updating asynchronous data in React, Solid, Svelte and Vue

Expand All @@ -12,8 +12,8 @@ Hooks for fetching, caching and updating asynchronous data in React, Solid, Svel
<img src="https://github.com/TanStack/query/workflows/react-query%20tests/badge.svg" />
</a><a href="https://www.npmjs.com/package/@tanstack/query-core" target="\_parent">
<img alt="" src="https://img.shields.io/npm/dm/@tanstack/query-core.svg" />
</a><a href="https://bundlephobia.com/package/@tanstack/react-query@latest" target="\_parent">
<img alt="" src="https://badgen.net/bundlephobia/minzip/@tanstack/react-query" />
</a><a href="https://bundlejs.com/?q=%40tanstack%2Freact-query%40rc&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D&badge=" target="\_parent">
<img alt="" src="https://deno.bundlejs.com/?q=@tanstack/react-query@rc&config={%22esbuild%22:{%22external%22:[%22react%22,%22react-dom%22]}}&badge=detailed" />
</a><a href="#badge">
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
</a><a href="https://github.com/TanStack/query/discussions">
Expand Down
48 changes: 0 additions & 48 deletions babel.config.js

This file was deleted.

95 changes: 76 additions & 19 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@
"label": "Placeholder Query Data",
"to": "react/guides/placeholder-query-data"
},
{
"label": "Prefetching",
"to": "react/guides/prefetching"
},
{
"label": "Mutations",
"to": "react/guides/mutations"
Expand Down Expand Up @@ -149,9 +145,21 @@
"to": "react/guides/filters"
},
{
"label": "SSR & Next.js",
"label": "Performance & Request Waterfalls",
"to": "react/guides/request-waterfalls"
},
{
"label": "Prefetching & Router Integration",
"to": "react/guides/prefetching"
},
{
"label": "Server Rendering & Hydration",
"to": "react/guides/ssr"
},
{
"label": "Advanced Server Rendering",
"to": "react/guides/advanced-ssr"
},
{
"label": "Caching",
"to": "react/guides/caching"
Expand All @@ -164,10 +172,6 @@
"label": "Suspense",
"to": "react/guides/suspense"
},
{
"label": "Custom Logger",
"to": "react/guides/custom-logger"
},
{
"label": "Testing",
"to": "react/guides/testing"
Expand All @@ -177,12 +181,16 @@
"to": "react/guides/does-this-replace-client-state"
},
{
"label": "Migrating to React Query 3",
"label": "Migrating to v3",
"to": "react/guides/migrating-to-react-query-3"
},
{
"label": "Migrating to React Query 4",
"label": "Migrating to v4",
"to": "react/guides/migrating-to-react-query-4"
},
{
"label": "Migrating to v5",
"to": "react/guides/migrating-to-v5"
}
]
},
Expand Down Expand Up @@ -235,8 +243,12 @@
"to": "react/examples/react/auto-refetching"
},
{
"label": "Optimistic Updates in TypeScript",
"to": "react/examples/react/optimistic-updates-typescript"
"label": "Optimistic Updates (UI)",
"to": "react/examples/react/optimistic-updates-ui"
},
{
"label": "Optimistic Updates (Cache)",
"to": "react/examples/react/optimistic-updates-cache"
},
{
"label": "Pagination",
Expand All @@ -246,6 +258,10 @@
"label": "Load-More & Infinite Scroll",
"to": "react/examples/react/load-more-infinite-scroll"
},
{
"label": "Infinite query with Max pages",
"to": "react/examples/react/infinite-query-with-max-pages"
},
{
"label": "Suspense",
"to": "react/examples/react/suspense"
Expand Down Expand Up @@ -274,6 +290,10 @@
"label": "Next.js",
"to": "react/examples/react/nextjs"
},
{
"label": "Next.js app with streaming",
"to": "react/examples/react/nextjs-suspense-streaming"
},
{
"label": "React Native",
"to": "react/examples/react/react-native"
Expand Down Expand Up @@ -303,10 +323,6 @@
"label": "Exhaustive Deps",
"to": "react/eslint/exhaustive-deps"
},
{
"label": "Prefer object syntax",
"to": "react/eslint/prefer-query-object-syntax"
},
{
"label": "Stable Query Client",
"to": "react/eslint/stable-query-client"
Expand All @@ -331,6 +347,10 @@
{
"label": "broadcastQueryClient (Experimental)",
"to": "react/plugins/broadcastQueryClient"
},
{
"label": "createPersister (Experimental)",
"to": "react/plugins/createPersister"
}
]
},
Expand Down Expand Up @@ -361,6 +381,10 @@
"label": "useIsMutating",
"to": "react/reference/useIsMutating"
},
{
"label": "useMutationState",
"to": "react/reference/useMutationState"
},
{
"label": "QueryClient",
"to": "react/reference/QueryClient"
Expand Down Expand Up @@ -426,6 +450,35 @@
{
"label": "Overview",
"to": "solid/overview"
},
{
"label": "Devtools",
"to": "solid/devtools"
}
]
},
{
"label": "Examples",
"children": [
{
"label": "Simple",
"to": "solid/examples/solid/simple"
},
{
"label": "Basic",
"to": "solid/examples/solid/basic-typescript"
},
{
"label": "Basic w/ GraphQL-Request",
"to": "solid/examples/solid/basic-graphql-request"
},
{
"label": "Default Query Function",
"to": "solid/examples/solid/default-query-function"
},
{
"label": "Solid Start",
"to": "solid/examples/solid/solid-start-streaming"
}
]
}
Expand Down Expand Up @@ -579,8 +632,8 @@
"to": "vue/guides/suspense"
},
{
"label": "Custom Logger",
"to": "vue/guides/custom-logger"
"label": "Testing",
"to": "vue/guides/testing"
},
{
"label": "Custom Client",
Expand All @@ -589,6 +642,10 @@
{
"label": "Does this replace [Vuex, Pinia]?",
"to": "vue/guides/does-this-replace-client-state"
},
{
"label": "Migrating to v5",
"to": "vue/guides/migrating-to-v5"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/react/adapters/react-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Example() {

return (
<div>
{query.isLoading
{query.isPending
? 'Loading...'
: query.isError
? 'Error!'
Expand Down
Loading