React router allows react apps to handle /arbitrary/route. In order this to work, I need my server to send the React app on any matched route.
/arbitrary/route
But webpa
I found the easiest solution to include a small config:
devServer: { port: 3000, historyApiFallback: { index: 'index.html' } }
I found this by visiting: PUSHSTATE WITH WEBPACK-DEV-SERVER.