React History Hören Sie den vorherigen Standort
let prevLocation;
history.listen(nextLocation => {
console.log(prevLocation);
// ...
prevLocation = nextLocation;
});
Long Lyrebird