How can i access the current hash location on react router 2?

Viewed 29954

I want to access the current location path (like /home) without the history keys for some comparison logic.

How can i access it from the hashHistory in react router 2.

Also, how can i access the previous path?

2 Answers
Related