how to get url in react
snippet in javascript

how to get url in react

user9482

window.location.href

get data from url using react

user9506

this.props.match.params.id