【Redux】ReactやるにもAngularやるにもとにかくRedux

【react-router-redux】これが出てきたら: should not have a “path” prop in IndexRoute

【react-router-redux】これが出てきたら:<IndexRoute> should not have a "path" prop in IndexRoute

should not have a "path" prop in IndexRoute
indexRoute はpashプロパティを持つべきではありません。

fix

[code language="javascript"]
Router history={history}>
<Route path="/" component={App}>
<IndexRoute path="index" component={Index} />//no!!
<Route path="input" component={ConnectedInput} />
<Route path="counter" component={ConnectedCounter} />
</Route>
</Router>
[/code]

[code language="javascript"]
<Router history={history}>
<Route path="/" component={App}>
<IndexRoute component={Index} />//fix
<Route path="input" component={ConnectedInput} />
<Route path="counter" component={ConnectedCounter} />
</Route>
</Router>
[/code]

ではーーー