Skip to content

useSlotRoute

useSlotRoute(): string | null

The route a slot rendered here would report: the nearest RevTurbineRoute pattern, else the browser’s normalized pathname, else null (server render). Read at call time.

string | null