Skip to content

Routers

reactpy_router.browser_router(*routes)

This is the recommended router for all ReactPy-Router web projects. It uses the JavaScript History API to manage the history stack.

Parameters:

Name Type Description Default
*routes RouteType

A list of routes to be rendered by the router.

()

Returns:

Type Description
Component

A router component that renders the given routes.


Last update: October 14, 2024
Authors: Mark Bakhit