title: How to get Full Route History from useHistory in react-router
body: <p>I am working on useHistory() hook. I need to fill the breadcrumbs from the useHistory route. I need to fill the breadcrumbs from where we came to home page or '/'.I don't know how to do it using useHistory.I know only few methods like goBack(). But it gives only the previous route. I need the whole history stack. Is there any way to get that in react?</p>