Hello, when using BrowserRouter the animations on ...
# react
g
Hello, when using BrowserRouter the animations on buttons (material-ui) are stopped before they can finish and then the page reloads. Also, the function
componentWillUnmount
is not called. Using HashRouter obviously solves all those issues but then the urls do not work properly (everything works by hash “#”). How can I have both, meaning the BrowerRouter urls but having the animations and complete lifecycle of components?