Skip to content
masterclass Buddy

React 19+ · Function

browser

browser() marks a component as browser-only during server rendering. Use its return value with use() so the nearest Suspense fallback appears on the server, while the component renders in the browser.

Last updated

Syntax

browser(reason?)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • use
  • Suspense
  • onBrowserBailout
  • renderToPipeableStream
  • AbortController.abort

Source: browser – React API Reference. Checked 2026-11-03.