Skip to content

Commit 18ae583

Browse files
Update browser.md
1 parent 8efce78 commit 18ae583

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/content/reference/react-dom/browser.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ During server rendering, `use(browser())` stops rendering the component and leav
4747
#### Caveats {/*caveats*/}
4848
4949
* `use(browser())` must be inside a `<Suspense>` boundary during server rendering. Without one, the server render fails.
50-
* In a React Server Components app, `use(browser())` must be called from a [Client Component](/reference/rsc/use-client), not a [Server Component](/reference/rsc/server-components).
50+
* `use(browser())` must be called from a [Client Component](/reference/rsc/use-client), not a [Server Component](/reference/rsc/server-components).
5151
* Calling `browser()` by itself has no effect. To mark a component as browser-only, pass the value returned by `browser` to `use`. Do not throw it.
5252
5353
---

0 commit comments

Comments
 (0)