Framework-agnostic SPA router with SWR cache and typed HTTP fetching
idae-router is a framework-agnostic SPA router used across Idae projects: path parameters, lifecycle hooks, declarative HTTP data fetching into route context, and an in-memory stale-while-revalidate cache with hover-triggered prefetching.
flowchart TD P["Idae monorepo"] --> S["idae-router"] S --> A["path params, query parsing, nested outlets"] S --> B["declarative http/http_source fetching"] S --> C["in-memory SWR cache + hover prefetch"]
Lightweight, framework-agnostic client-side router: path parameters, query parsing, lifecycle hooks, declarative HTTP data fetching, an in-memory SWR cache, and full TypeScript generics. Supports nested routes and outlets.