Redirect to another site, react?

Good day! Please tell me how in this case to do a redirect to another site?
 role ?
 <provider store="{store}">
 <connectedrouter history="{history}">
 </provider> : <norole url="{newUrl}/">,

NoRole now trying to pass url in componentDidMount trying to write
window.location = this.props.url;
but the page just peretiraetsya.
Please tell me how in this case the right to do this redirect?
Thank you!
June 8th 19 at 17:19

Find more questions by tags JavaScriptReactRedux