react-router-hash-link icon indicating copy to clipboard operation
react-router-hash-link copied to clipboard

Conditional disabling of hashlink

Open chrisphillers opened this issue 3 years ago • 0 comments

We are having bubbling issues with hashlink as the parent component and there seems to be no way of disabling hashlink. Should hashlink not have a disable prop or better handle an empty string? At the moment an empty string in the "to" prop triggers a re-render.

chrisphillers avatar Nov 19 '21 09:11 chrisphillers