next
Version:
The React Framework
10 lines (9 loc) • 646 B
JavaScript
// Client-safe access to the server-only dynamic-rendering hooks used by the
// navigation hooks. On the server these re-export the real implementations; in
// the browser bundle this module is aliased to
// `./navigation-dynamic-rendering.browser` (see
// scripts/generate-browser-variant-aliases.mjs), which exports `undefined` so
// the server module is not bundled into the client. Callers use optional calls
// (`useDynamicRouteParams?.(...)`), so the browser stub is a no-op.
export { useDynamicRouteParams, useDynamicSearchParams } from '../../server/app-render/dynamic-rendering';
//# sourceMappingURL=navigation-dynamic-rendering.js.map