@alien-dom/router
v0.3.0
Published
(Work in-progress)
Downloads
15
Readme
@alien-dom/router
(Work in-progress)
A router for single-page applications made with alien-dom
.
- Type-safe navigation methods
- Lazy route imports
- Code generation
- Save page state with
window.history
API - Save scroll positions
- URL path parameters & search parameters
- Support for pathname and/or hash navigation
- Observable pathname and hash
- “Route shells” for shared layouts
- Route-level data fetching
- Route-level mutable state
- Route context accessible anywhere in the component tree