How can I disable a in react-router, if its URL already active? E.g. if my URL wouldn\'t change on a click on I want to p
I think you should you atrribute to=null to set disable a link.
See an example at here https://stackoverflow.com/a/44709182/4787879