Skip to content

Commit 564a4bc

Browse files
committed
docs: remove redundant code example from query integration doc
1 parent 7fa0f39 commit 564a4bc

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎docs/router/integrations/query.md‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@ export function getRouter() {
132132
- `useSuspenseQuery`: runs on the server during SSR when its data is required and will be streamed to the client as it resolves.
133133
- `useQuery`: does not execute on the server; it will fetch on the client after hydration. Use this for data that is not required for SSR.
134134

135-
```tsx
136-
// Suspense: executes on server and streams
137-
const { data } = useSuspenseQuery(postsQuery)
138-
139-
// Non-suspense: executes only on client
140-
const { data, isLoading } = useQuery(postsQuery)
141-
```
142-
143135
<!-- ::start:framework -->
144136

145137
# React

0 commit comments

Comments
 (0)