lagunovsky / redux-react-router

A Redux binding for React Router v6
MIT License
73 stars 9 forks source link

Browser's back button doesn't trigger @@router/ON_LOCATION_CHANGED #8

Closed SerdarSanri closed 2 years ago

SerdarSanri commented 2 years ago

Not sure if something is missing in my config but I noticed after changing location with Link component, Browser's ( Chrome ) back button seems to not triggering ON_LOCATION_CHANGED action which causes app to go blank screen.

SerdarSanri commented 2 years ago

Problem caused by my configuration. Link target was a non-existing page, in that case returning back causes no-render. if the target is an actual route that does exist and can be rendered, back button works as expected.