reactjs - React Router `history` and `location` mismatched after back button - Stack Overflow
GitHub - hinok/react-router-last-location: Provides access to the last location in react + react-router (v4.x, v5.x) applications. ❤️ Using hooks? useLastLocation | 💉 Using HOC? withLastLocation