v0.1.0 Release
Full Changelog: https://github.com/twuni/router-preact/commits/v0.1.0
- 📡 Initial commit of a tiny Router for Preact
- 🎨 Add Router context for overridding history/location/addEventListener
- 📦 Upgrade dependencies to their latest versions
- ✨ Refactor BrowserRouter to decouple router API from browser APIs
- 🎨 Performance improvements and refactoring to reduce complexity
- 🏇 Optimize route change effect with shallow equals (vs the naive JSON.stringify)
- 🎨 Fix lint violation (unused variable) via some minor refactoring
- 📦 Upgrade Preact to the latest version