enrouter is a router library for React and Vite plugin providing seamless file-based routing DX with "named outlets" feature. It is written in TypeScript and compiled to ES2023.
Please, be aware that the API is not stable yet and can be changed before
reaching v1.0.0
.
The goal is to find the simplest and most elegant API & DX.
pnpm add -D enrouter
react@^18
vite@^5
enrouter runs in all modern browsers, on the edge and Node.js.