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.
SubscribeRelated
useSuspenseonBrowserBailoutrenderToPipeableStreamAbortController.abort