Framework-agnostic library for routing JavaScript single-page applications
TL;DR Features:
- Config-based router (just like Vue Router)
- Dynamic route matching
- Nested routes
- Programmatic navigation
- Named routes
- Named views (outlets)
- Global and individual navigation hooks
- Hash, history and silent modes
- Functions to calculate transitions durations
- SSR friendly
Coming soon
You can't use it without special bindings for frameworks and libraries. This library contains only logic part of router: handling hash or url changes, routes tree generation, resolving current route, etc.
For every framework and library you should have router outlet and router link components.
- Svelte Easyroute - bindings for Svelte 3 (NPM)
- React Easyroute - bindings for React (NPM)