I have a router like below:
As of version 3.0.0, you can get the current route by calling:
this.context.router.location.pathname
Sample code is below:
var NavLink = React.createClass({ contextTypes: { router: React.PropTypes.object }, render() { return ( ); } });