Answer the question
In order to leave comments, you need to log in
Redirect to another site, react?
Good afternoon! Please tell me how to redirect to another site in this case?
ReactDom.render(
role ?
<Provider store={store}>
<ConnectedRouter history={history}>
<App />
</ConnectedRouter>
</Provider> : <NoRole url={newUrl}/>,
document.getElementById('main'),
);
window.location = this.props.url;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question