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!

Front-end ReactJS Developer — https://aggelos.dev

Front-end ReactJS Developer — https://aggelos.dev