it\'s my first project that use react,react-router,react-hot-loader,webpack-dev-server and webpack. when I chang
react
react-router
react-hot-loader
webpack-dev-server
webpack
Try to use this configuration https://github.com/reactjs/react-router/issues/2704#issuecomment-170940448
const routeConfig = [ { path: '/:locale', component: App, indexRoute: { component: NewsCardsContainer }, ... } ]; return ( )