Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions docs/router/integrations/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ By default, the integration wraps your router with a `QueryClientProvider`. If y
- `useSuspenseQuery`: runs on the server during SSR when its data is required and will be streamed to the client as it resolves.
- `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.

```tsx
// Suspense: executes on server and streams
const { data } = useSuspenseQuery(postsQuery)

// Non-suspense: executes only on client
const { data, isLoading } = useQuery(postsQuery)
```

<!-- ::start:framework -->

# React
Comment thread
CBell045 marked this conversation as resolved.
Expand Down