Skip to content

@continuum-js/router


@continuum-js/router / Router

Function: Router()

Router(props): Node

Defined in: index.ts:76

Route the current URL through routes. fallback renders when nothing matches (404). A guard returning a path triggers a replace-navigation.

Parameters

props

fallback?

() => Child

routes

RouteDef[]

Returns

Node