News for hackers. Stuff that matters.
Re:You Really Don’t Need All That JavaScript [video] by satyrnein on Tuesday September 08, 2020 @02:11PM (#24411050)
At this point, the choice is not whether the web should have apps, but whether they should use multiple frameworks that invent the missing pieces on top, or whether some of that should be standardized. For me personally, knowing HTML is small will be cold comfort if we are all using react-router or whatever in the future.
Re:You Really Don’t Need All That JavaScript [video] by el_dev_hell on Tuesday September 08, 2020 @07:48PM (#24414979)
> 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?

Re:You Really Don’t Need All That JavaScript [video] by mercer on Monday September 14, 2020 @07:20AM (#24468889)
I 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.

Re:You Really Don’t Need All That JavaScript [video] by lioeters on Tuesday September 08, 2020 @08:47PM (#24415429)
I 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.