3 ms·
We migrated from React Router to Reach Router (https://reach.tech/router https://reach.tech/router) and found it to be better in a few ways: * Built-in focus m
by anurag 8y ago
We migrated from React Router to Reach Router (https://reach.tech/router https://reach.tech/router) and found it to be better in a few ways:
* Built-in focus management.
* Smaller library size.
* Implicit route matching that Just Works.
* More comprehensive docs with live examples.
Migration was easy. Highly recommended.
- wilsonrocks 8y agoThis looks great! Thank you
- thejosh 8y agoThis looks very similar to preact router.
- geewee 8y agoWe did the same thing, then migrated back to React-Router. We had issues getting relative urls and redirects to work, examples were hard to come by, and generally the experience was just poorer than React-Router.
- balac 8y agoI did the same as you, initially reach router seemed like a great alternative, but it really doesn't feel finished, updates are few and far inbetween, and there is a large backlog of open issues / PRs.
- traderjane 8y agoI get the sense that Reach Router is no longer maintained despite what the project owner says, plus there's the fact that he's been rehired into the React Router team.
- frosted-flakes 8y agoWell, at least one major project (Gatsby) uses it, so I bet it will stick around for a while yet. I don't think Gatsby could switch back to React-Router without introducing breaking changes.
- ludwigvan 8y agoSo both of these routers are written by Ryan Florence? Interesting, what was the reason behind this? Freedom to experiment in one repo while keeping the other stable?
- zwily 8y agoRyan originally wrote react-router but then it became part of the ReactTraining org. Ryan later left ReactTraining to do his own thing, and started reach.tech, and Reach Router was born. Now Ryan is back at ReactTraining, and we’ll see what that means for the routers. FWIW, I use Reach Router for everything now and greatly prefer it.
- nfRfqX5n 8y agonice to see they added a way to disable auto focus on route change, something that prevented me from using previously