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/start/framework/react/guide/execution-model.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,31 @@ function Analytics() {
98
98
}
99
99
```
100
100
101
+
#### useHydrated Hook
102
+
103
+
For more granular control over hydration-dependent behavior, use the `useHydrated` hook. It returns a boolean indicating whether the client has been hydrated:
-**After hydration**: Returns `true` (and stays `true` for all subsequent renders)
123
+
124
+
This is useful when you need to conditionally render content based on client-side data (like browser timezone, locale, or localStorage) while providing a sensible fallback for server rendering.
Copy file name to clipboardExpand all lines: docs/start/framework/react/guide/hosting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ However, since hosting is one of the most crucial aspects of your application's
18
18
19
19
Once you've chosen a deployment target, you can follow the deployment guidelines below to deploy your TanStack Start application to the hosting provider of your choice:
20
20
21
-
-[`cloudflare-workers`](#cloudflare-workers): Deploy to Cloudflare Workers
21
+
-[`cloudflare-workers`](#cloudflare-workers--official-partner): Deploy to Cloudflare Workers
Copy file name to clipboardExpand all lines: docs/start/framework/solid/guide/execution-model.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,30 @@ function Analytics() {
98
98
}
99
99
```
100
100
101
+
#### useHydrated Hook
102
+
103
+
For more granular control over hydration-dependent behavior, use the `useHydrated` hook. It returns an accessor (signal) indicating whether the client has been hydrated:
-**After hydration**: Returns `true` (and stays `true` for all subsequent renders)
122
+
123
+
This is useful when you need to conditionally render content based on client-side data (like browser timezone, locale, or localStorage) while providing a sensible fallback for server rendering.
0 commit comments