@grucloud/bau-router
v0.93.0
Published
A lean router
Downloads
409
Readme
BauRouter
A Router for the browser in 75 lines of code with the following features:
- Nested route
- Layout support
- Asynchronous loading
bau-router is framework agnostic and integrates with Bau, React, Preact, SolidJs etc ...
Bundle size
Let's compare the bundle sizes thanks to bundlephobia:
Workflow
Install the dependencies:
npm install @grucloud/bau-router
Import @grucloud/bau-router
import BauRouter from "@grucloud/bau-router";
The following example demonstrates how to use this router with the Bau reactive library.
Contribution
Bugs and suggestion can be discussed on its GitHub project page.