react-router how to get previous location

react-router/API.md at v3 · ReactTraining/react-router · GitHub

 

stackoverflow.com

 

stackoverflow.com