I\'m using React-router and it works fine while I\'m clicking on link buttons, but when I refresh my webpage it does not load what I want.
For instance, I am in
The Webpack Dev Server has an option to enable this. Open up package.json and add --history-api-fallback. This solutions worked for me.
package.json
--history-api-fallback
react-router-tutorial