4 ms·
There are aspects of React Router that are annoying, but I am glad not to be writing code for matching routes. Works for me. Also a fan of https://github.com/r
by linkmotif 11y ago
There are aspects of React Router that are annoying, but I am glad not to be writing code for matching routes. Works for me.
Also a fan of https://github.com/relay-tools/react-router-relay https://github.com/relay-tools/react-router-relay, because Relay is great.
- taion 11y agoWhat do you find annoying about React Router? If anything, working on react-router-relay has only made me appreciate React Router's design more. A lot of the changes in 2.x are specifically from lessons we've learned in building react-router-relay and other integrations, but they're closer to refactorings and code reorganization than to wholesale rewrites.
- linkmotif 11y agoGenerally what many others have said: that the API has changed a lot. Specifically I didn't like it when named routes were removed. But hey—it's open source. Sometimes I get worked up about this or that, but then I remember that all of this I'm getting for free and I must be grateful.