5 ms·
> For me personally, knowing HTML is small will be cold comfort if we are all using react-router or whatever in the future. Serious question, what's the issue
by el_dev_hell 6y ago
> For me personally, knowing HTML is small will be cold comfort if we are all using react-router or whatever in the future.
Serious question, what's the issue with react-router?
- lioeters 6y agoI think the parent comment isn't a criticism of react-router, but rather suggesting that its features should be standardized in the HTML specs and supported natively by the browser.
- mercer 6y agoI can't speak for OP, but my issue with react-router is that for just a single project I had to significantly change things as they kept doing things in completely new ways. Once I gave up and used page.js (or some other non-react-specific solution), not only was the resulting code shorter and cleaner, it needed much less upkeep. I'm sure there are situations where using react-router makes sense, but for me it was one of the few packages 'blessed' by the react ecosystem that gave me more trouble than it was worth.