Releases: liuweiGL/react-stack-router
Releases · liuweiGL/react-stack-router
v2.3.4
2.3.4 (2022-07-05)
Bug Fixes
- 路由懒加载时解析到的 route 可能跟当前 location 不一致 (674266f)
v2.3.3
2.3.3 (2022-03-31)
Bug Fixes
- using normalized path to match route (4c6d65d)
v2.3.2
2.3.2 (2022-03-30)
Bug Fixes
- fix using no normalized pathname to match route (31fec35)
v2.3.1
2.3.1 (2022-03-30)
Bug Fixes
- fix RouterNavigator declaration error (bb88722)
v2.3.0
2.3.0 (2022-03-30)
Features
v2.2.0
2.2.0 (2022-03-20)
Features
v2.1.0
2.1.0 (2022-03-20)
Bug Fixes
- fix router stack records incorrect (55e493e)
- fix unexpected 404 page rendering on first visit (36b42c5)
Features
- generic types add default type (482ff34)
- make navigateBack's paramater is optional (23cd52a)
v2.0.0
2.0.0 (2022-03-19)
Features
- Add
useRoute
hook
- Add default 404 page
- Support custom 404 page
Performance Improvements
- Use react-freeze to implement "really cache"
- Remove
Proxy
from Stack class instead of manual trigger
- Resolving multiple renders with transaction constraint changes
- Clean up code
BREAKING CHANGES
v1.1.4
1.1.4 (2022-03-19)
Performance Improvements
- reduce unnecessary rendering (a232eeb)
v1.1.3
1.1.3 (2022-03-17)
Bug Fixes
- fix the dist not exists in npm package (d79cbd3)