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
{{ message }}
Repository navigation
Commit 2e6ade6
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/content/reference/react-dom/browser.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Call `browser` inside `use` in a component that should only render in the browse
69
69
70
70
You can use this instead of checking `typeofwindow`, waiting for an [`Effect`](/reference/react/useEffect) to set mounted state, or using a framework option to disable server rendering.
71
71
72
-
Press **Render the page** to see the loading fallback. React then displays a draft loaded from `localStorage`.
72
+
Press **Load draft**. The initial HTML contains the loading fallback. After hydration, React displays the draft loaded from `localStorage`.
73
73
74
74
<Sandpack>
75
75
@@ -182,7 +182,7 @@ export async function flushReadableStreamToFrame(readable, frame) {
Copy file name to clipboardExpand all lines: src/content/reference/react/Suspense.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2386,7 +2386,7 @@ The server HTML will include the loading indicator. It will be replaced by the `
2386
2386
2387
2387
A Suspense boundary can provide a fallback for a browser-only component. Wrap the component in `<Suspense>` and call [`use(browser())`](/reference/react/use#use-browser) inside it.
2388
2388
2389
-
Press **Render the page** to see the loading fallback. React then displays a draft loaded from `localStorage`.
2389
+
Press **Load draft**. The initial HTML contains the loading fallback. After hydration, React displays the draft loaded from `localStorage`.
2390
2390
2391
2391
<Sandpack>
2392
2392
@@ -2499,7 +2499,7 @@ export async function flushReadableStreamToFrame(readable, frame) {
0 commit comments