diff --git a/docs/router/integrations/query.md b/docs/router/integrations/query.md index 22fbb927c8f..6fb06cd9791 100644 --- a/docs/router/integrations/query.md +++ b/docs/router/integrations/query.md @@ -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) -``` - # React