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 Route

A list of routes to be rendered by the router.

()

Returns:

Type Description
Component

A router component that renders the given routes.

Authors: Mark Bakhit