问题 Good day, everybody! I have a React.js project with a simple sign in function. After the user is authorized, I call history.push method which changes the link in the address bar but does not render the new component. (I use BrowserRouter) My index.js component: ReactDOM.render( <Provider store={createStore(mainReducer, applyMiddleware(thunk))}> <BrowserRouter> <Main /> </BrowserRouter> </Provider>, document.getElementById('root') ); My Main.js component: const Main = (props) => { return (