react-router-tutorial
react-router-tutorial copied to clipboard
I'm using CreateReactApp and when I use: ```javascript import { Router, Route, hashHistory, IndexRoute } from 'react-router'; ``` I've got error: ``` 'react-router' does not contain an export named 'IndexRoute'...
I have this code ``` import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router, Route, browserHistory, IndexRoute } from 'react-router';...
https://github.com/reactjs/react-router-tutorial/tree/master/lessons/10-clean-urls Hi there, On this lesson, we have to reboot webpack dev server. But I killed it on console (using windows > cygwin) and when I lunched "npm start" I...
Tag should be close.
This is the code in my App.js. In the third li className works well. But activeStyle and activeClassName both don't work for Link. I have a css file about 'active'....
Hi, I know I can pass params by Route like ``` }/> ``` But that require set `component` , and `component` must be child of current page. That is inconvenient....
``` // App.js import React from 'react' import { Link } from 'react-router' import NavLink from './NavLink' export default React.createClass({ render() { return ( React Router Tutorial About Repos {this.props.children}...
To reach params you need to call `this.props.match.params` insted of `this.props.params`. I added `match` to readme.
I am not getting the desired result from using react-router-dom for routing in my react application. Here is the issue. Error: `cannot GET /path` I get this error when I...
Hi, I am trying to implement multi page web application with react router , but i get this error. any suggestions. ------------- ./src/index.js Module not found: Can't resolve 'react-router' in...