by steve_taylor · 7y ago · 0 comments
There were two API rewrites in a short space of time and it was extremely frustrating, especially since it seemed almost compulsory to be experienced with React Router (along with Redux) to be taken seriously by recruiters.
For my own projects, I started using page.js years ago and haven't looked back.
Do you have a publicPath in your webpack.conf?
`publicPath: "/"`
Also make sure you a linking to="/path", not to="path"
I'm assuming that perhaps React Router is preferable beyond a certain amount of complexity? Can anyone chime in where page.js falls short?