react current path
//Add your component to router
<Router path="/" component={Navigation} />
//Get your path
this.props.location.pathname
Are there any code examples left?
New code examples in category Javascript
//Add your component to router
<Router path="/" component={Navigation} />
//Get your path
this.props.location.pathname