# solidjs/solid-router

A universal router for Solid inspired by Ember and React Router

Repository: https://github.com/solidjs/solid-router
Canonical: https://ross.abutalabs.com/products/solid-router
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T10:34:10+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 60, longevity 100
- inputs: {"age_days": 2137, "days_push": 7, "days_rel": 7, "gap_med": 6, "n_releases_24m": 4}
- flags: prerelease_only
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1317, forks 176 (observed 2026-08-28T04:04:21.026795+00:00)

## What it is
Solid Router is the official routing library for SolidJS, inspired by Ember and React Router. It provides declarative, reactive client-side routing with support for history, hash, memory, and server-side rendering modes, plus data APIs with caching and parallel preloading.

## Use cases
- add client-side routing to a SolidJS single-page app
- define nested and dynamic routes with URL parameters and wildcards
- server-side render routes with universal rendering
- preload route data in parallel before rendering
- test routing logic in non-browser environments with a memory router
- use hash-based navigation for static hosting
- fetch route data with caching, deduplication, and revalidation

## When to choose
- you are building a SolidJS application and need routing
- you want React Router-like ergonomics with fine-grained reactivity
- you need SSR or universal rendering with route-aware data fetching
- you want type-safe routing in TypeScript

## When to avoid
- your project uses React, Vue, or another framework (use its ecosystem router)
- you are building a multi-page app with full server-rendered page loads
- you need a standalone router outside the SolidJS ecosystem

## Facets
- artifact type: library
- maturity: active
- function: routing, web-framework, middleware, ssr, state-management
- domain: web-development, frontend, apis
- platform: browser, cross-platform
- tags: solidjs, spa, client-side-routing, reactive, typescript, universal-rendering, data-preloading, nodejs, web-server

## Member repositories
- solidjs/solid-router (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.026795+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:48:14.834739+00:00, confidence not recorded.
  - readme: https://github.com/solidjs/solid-router (fetched 2026-08-28T04:04:21.026795+00:00, sha 511ede2d15e3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
