Re:If Not SPAs, What?
by dsiegel2275 on Wednesday October 28, 2020 @09:33PM
(#24926152)
I suspected things were getting too complicated in this space when I read that someone wrote a 150 page book on React Router
[ Parent
| on HN ]
Re:If Not SPAs, What?
by JMTQp8lwXL on Wednesday October 28, 2020 @10:02PM
(#24926288)
This hasn't been my experience. 10 to 15 minutes of looking at React Router's documentation was enough to get started with it. The major version bumps, however, have been a little taxing. If it takes six major releases to get the paradigm right, you should've done more research before moving onto the implementation phase.
A while back I was faced with using whatever god-awful backwards-incompatible version of react-router to use, or instead to go for a routing solution that wasn't as insane. I don't remember what I picked, but I think it was page.js. Something that's been around forever. It was astounding to me how much it simplified the whole project. I truly can't figure out what react-router actually brings to the table, considering it's version history, compared to the myriad of alternatives.