1 min readJun 10, 2020
Hey Stephanie,
I currently don’t have time to set it up, but it’s super easy. As the article suggested:
- Install
connected-react-router
by following the setup docs here https://github.com/supasate/connected-react-router - Dispatch the
replace
action. You can find examples of how to do it (depending on which redux setup you have) here https://github.com/supasate/connected-react-router/blob/master/FAQ.md#how-to-navigate-with-redux-action. The examples refer to thepush
action, but you can do exactly the same for thereplace
action. The arguments passed toreplace
are the same as the ones shown in the article.
Hope that helps!