fast-react-router v0.2.6
fast-router
is a new routing library for react.
fast-router
is designed to keep the number of renders as low as possible.
So if you want to navigate you can just use the navigate function without using a useNaviate
hook which cause a rerender every time something changed in the url or in the state of the location.
Also no route gets rerenderd, if the state of the location changes as long as the path remains the same.
If you use the useLocationState function to select a value from the state and another value changes within the state no new render occurs.
Currently a lot of function from other frameworks like react-router and wouter are currently not supported.
If you are missing any features just create an issue.
Pros
- Fast (less renders then in other routing libaries)
- Small bundle size
- 100% Typescript
Docs are now available at: https://fast-router.github.io/
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago