All projects
Library2024

9Router

A 3KB client-side router for React.

A tiny, dependency-free router with nested routes, lazy loading and typed params — built to understand how routing libraries really work under the hood.

3.1KB

Bundle size

0

Dependencies

96%

Test coverage

Highlights

  • History + hash strategies behind a single hook-based API.
  • Route-level code splitting with a Suspense fallback.
  • Fully typed params inferred from the path string.

Stack

TypeScriptReactVite