Skip to content

RevTurbineRoute

RevTurbineRoute(__namedParameters): ReactElement

Declares the app route for the slots beneath it (BL-0207 / D-30). Every usePlacement() / <Slot> in the subtree stamps this route onto its slot lifecycle events (slot_evaluated, slot_filled, …), and ingestion-driven slot discovery persists it on the discovered surface slot.

Optional: without it, slots report window.location.pathname with identifier-like segments templated to :id. Mount it when your router knows the route PATTERN, so /projects/42 and /projects/43 are one route. Renderless — adds no DOM node. The innermost boundary wins.

RevTurbineRouteProps

ReactElement

React
// Next.js App Router (app/layout.tsx child, a client component)
const route = routePatternFromParams(usePathname(), useParams());
return <RevTurbineRoute route={route}>{children}</RevTurbineRoute>;