From 18ae583542b92e6569361cb8c36fa42da160553f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yadiel=20V=C3=A9lez?= <16180439+hernan-yadiel@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:05:31 -0400 Subject: [PATCH 1/2] Update browser.md --- src/content/reference/react-dom/browser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react-dom/browser.md b/src/content/reference/react-dom/browser.md index 00c60d37d2a..fb0d23e3bd3 100644 --- a/src/content/reference/react-dom/browser.md +++ b/src/content/reference/react-dom/browser.md @@ -47,7 +47,7 @@ During server rendering, `use(browser())` stops rendering the component and leav #### Caveats {/*caveats*/} * `use(browser())` must be inside a `` boundary during server rendering. Without one, the server render fails. -* 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). +* `use(browser())` must be called from a [Client Component](/reference/rsc/use-client), not a [Server Component](/reference/rsc/server-components). * 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. --- From 1f3ba96bd848e85c949463e43c713f28884fcbbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yadiel=20V=C3=A9lez?= <16180439+hernan-yadiel@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:20:21 -0400 Subject: [PATCH 2/2] Update browser.md --- src/content/reference/react-dom/browser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react-dom/browser.md b/src/content/reference/react-dom/browser.md index fb0d23e3bd3..8b009057513 100644 --- a/src/content/reference/react-dom/browser.md +++ b/src/content/reference/react-dom/browser.md @@ -206,7 +206,7 @@ iframe { -In a React Server Components app, `use(browser())` must be called from a Client Component. If your framework uses Server Components by default, add the [`'use client'`](/reference/rsc/use-client) directive to that file or move the call to a child Client Component: +`use(browser())` must be called from a Client Component. If your framework uses Server Components by default, add the [`'use client'`](/reference/rsc/use-client) directive to that file or move the call to a child Client Component: ```js {1} 'use client';