From 6346d81a2d0b09e1c414fefbe8183581d385507c Mon Sep 17 00:00:00 2001 From: Chad Bell Date: Tue, 14 Apr 2026 19:20:07 -0500 Subject: [PATCH 1/2] fix(docs): remove duplicate code block in query integration guide --- docs/router/integrations/query.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/router/integrations/query.md b/docs/router/integrations/query.md index 22fbb927c8f..7bd592dc988 100644 --- a/docs/router/integrations/query.md +++ b/docs/router/integrations/query.md @@ -77,6 +77,10 @@ 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. + + +# React + ```tsx // Suspense: executes on server and streams const { data } = useSuspenseQuery(postsQuery) @@ -85,9 +89,7 @@ const { data } = useSuspenseQuery(postsQuery) const { data, isLoading } = useQuery(postsQuery) ``` - - -# React +# Solid ```tsx // Suspense: executes on server and streams From 848ee03152c0c2fc2b8afbd6103fb5afcc07c81b Mon Sep 17 00:00:00 2001 From: Chad Bell Date: Tue, 14 Apr 2026 22:37:13 -0500 Subject: [PATCH 2/2] remove duplicate code block --- docs/router/integrations/query.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/router/integrations/query.md b/docs/router/integrations/query.md index 7bd592dc988..6fb06cd9791 100644 --- a/docs/router/integrations/query.md +++ b/docs/router/integrations/query.md @@ -89,16 +89,6 @@ const { data } = useSuspenseQuery(postsQuery) const { data, isLoading } = useQuery(postsQuery) ``` -# Solid - -```tsx -// Suspense: executes on server and streams -const { data } = useSuspenseQuery(postsQuery) - -// Non-suspense: executes only on client -const { data, isLoading } = useQuery(postsQuery) -``` - ### Preload with a loader and read with a hook