![reactjs - Ionic/React/TypeScript,using react-router history.push, history.replace and history.goBack Animation triggers twice - Stack Overflow reactjs - Ionic/React/TypeScript,using react-router history.push, history.replace and history.goBack Animation triggers twice - Stack Overflow](https://i.stack.imgur.com/NTnsr.gif)
reactjs - Ionic/React/TypeScript,using react-router history.push, history.replace and history.goBack Animation triggers twice - Stack Overflow
Expose history.goBack and history.goForward on the router context object · Issue #4302 · remix-run/react-router · GitHub
![javascript - React Router - Go back to the last page visited, and not the default component - Stack Overflow javascript - React Router - Go back to the last page visited, and not the default component - Stack Overflow](https://i.stack.imgur.com/pV1Vx.jpg)