Paratron/hookrouter
The flexible, and fast router for react that is entirely based on hooks observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2759
- days_rel: n/a
- days_push: 1449
- n_releases_24m: 0
Adoption not part of the score
1479 stars · 86 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
hookrouter is a lightweight React routing library built entirely on hooks, offering a fast and flexible alternative to react-router. Routes are defined as plain objects mapping URL patterns to functions, with support for path placeholders, query parameters, and SSR.
Use cases
- route between pages in a react app using hooks
- define routes as a simple object map instead of jsx components
- extract url query parameters in react
- set the document title per route
- server-side render a react app with routing
- match dynamic route segments like /products/:id
When to choose
- you want a minimal, hook-based router without jsx route components
- your app uses react 16.8+ and you prefer hooks over hoc/class patterns
- you need lightweight routing with query param and ssr support
When to avoid
- you need typescript support maintained by the author
- you want a router with active development and recent releases
- you need advanced features like nested layouts, data loaders, or route transitions
Facets
library · maturity maintenance
routing ssr web-development frontend browser react hooks router query-params page-title nodejs web-server
2 sources
- readme: https://github.com/Paratron/hookrouter · fetched 2026-08-28 · eec8e4253db9
- registry_npm: https://registry.npmjs.org/hookrouter · fetched 2026-08-29 · 23f7e300a1dc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Paratron/hookrouter | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="Paratron/hookrouter")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem