react-router: how to get the previous route in onEnter handler?

I'm trying to find a way to read the previous route/path when a user hits a new one, within the onEnter handler. I have a React Router structured like so: <Router history={history}> ...