hamlim/reroute

Disabled links still reload the page and cause redirects

Closed this issue · 0 comments

If you disable a link, and the user clicks the link the page will refresh and then match the new path instead of not navigating the user.

See example here: https://codesandbox.io/s/error-with-disabled-link-br5hv