Currently, if we pass hrefnavigate or patch we always render a link. But we have numerous cases where we want to disable the link as well, however the disabled prop does not make sense for links https://css-tricks.com/how-to-disable-links/.
Let's use button tags instead and disable those buttons, when the prop is passed in anyway.
Currently, if we pass
href
navigate
orpatch
we always render a link. But we have numerous cases where we want todisable
the link as well, however the disabled prop does not make sense for links https://css-tricks.com/how-to-disable-links/.Let's use button tags instead and disable those buttons, when the prop is passed in anyway.