Replace useSearchParams bailout error with ReactDOM.browser behind a flag (#96843)
Stacked on #96826. This PR replaces the bailout error used by `useSearchParams` with `ReactDOM.browser()` behind the experimental flag. ### How? Move the bailout behind a browser-safe module boundary, use `ReactDOM.browser()` when enabled, and preserve existing behavior otherwise. <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment