You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/react/reference/useQuery.md
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ const {
51
51
select,
52
52
staleTime,
53
53
structuralSharing,
54
-
suspense,
55
54
throwOnError,
56
55
})
57
56
```
@@ -136,11 +135,6 @@ const {
136
135
-`select: (data: TData) => unknown`
137
136
- Optional
138
137
- This option can be used to transform or select a part of the data returned by the query function. It affects the returned `data` value, but does not affect what gets stored in the query cache.
139
-
-`suspense: boolean`
140
-
- Optional
141
-
- Set this to `true` to enable suspense mode.
142
-
- When `true`, `useQuery` will suspend when `status === 'pending'`
143
-
- When `true`, `useQuery` will throw runtime errors when `status === 'error'`
144
138
-`initialData: TData | () => TData`
145
139
- Optional
146
140
- If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet)
0 commit comments