possibility to check if can go back
Does any one knows how to implement check if there is a route in history to go back in order to prevent leaving my application when coming from browser link?
I know that such feature exists in react-router, but I donβt wanna go back to it after trying typed routes and query params.
Thank you for help