[BUG]: browser back and forward buttons doesn't trigger view update
raminjafary opened this issue · 1 comments
raminjafary commented
Going back or forward in history with browser doesn't trigger update because switch
doesn't listen for window popstate
event. I think registering and unregistering this event in didMount
and didUnmount
resolve the issue.
yandeu commented
Thanks! I will have a look at your fix.