Obtenga el valor de búsqueda de React Route2

const value=queryString.parse(this.props.location.search);
const token=value.token;
console.log('token',token)//123
Aggressive Anaconda