https://github.com/piterweb/reverrouter
<1kb ReverUI Router
https://github.com/piterweb/reverrouter
react react-router rever rever-router reverouter reverrouter reverui
Last synced: 3 months ago
JSON representation
<1kb ReverUI Router
- Host: GitHub
- URL: https://github.com/piterweb/reverrouter
- Owner: PiterWeb
- License: mit
- Created: 2024-10-02T13:28:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-05T12:48:10.000Z (8 months ago)
- Last Synced: 2025-03-17T01:21:49.166Z (3 months ago)
- Topics: react, react-router, rever, rever-router, reverouter, reverrouter, reverui
- Language: TypeScript
- Homepage: https://reverui.vercel.app/
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Rever(r)outer 📦
The router for [ReverUI](https://github.com/PiterWeb/ReverUI/)
### Install it using
$ npm i reverouter### Example
```ts
// main.tsimport { $UI } from "reverui";
import { $lazy, $Router } from "reverouter";$Router($UI ,{
"/": () => import("./Banner"), // Normal Route
"/todo": $lazy(() => import("./Todo")), // Lazy Route
"/counter": $lazy(() => import("./Counter")), // Lazy Route
"/counter-with-hook": $lazy(() => import("./CounterWithHook")), // Lazy Route
});```