Aggelos Arvanitakis
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:

  1. Install connected-react-router by following the setup docs here https://github.com/supasate/connected-react-router
  2. 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 the push action, but you can do exactly the same for the replace action. The arguments passed to replace are the same as the ones shown in the article.

Hope that helps!

--

--