3 ms·
It’s not a button. It’s an actual a tag with a href. Additionally it has an on click handler. If you open the link in any way other than clicking, it uses the h
by Gigachad 4y ago
It’s not a button. It’s an actual a tag with a href. Additionally it has an on click handler. If you open the link in any way other than clicking, it uses the href like a normal link.
Things like React Router make it trivial to create real links that additionally can change the page without a page reload if they are clicked. But you can still middle click to open in new page, still hover to see link, still navigate history normally, etc.
- jbverschoor 4y agoIf and only if it hadn’t been mutilated, which happens about 99% of the time. And the whole point of this. Sure you can make this work, but people don’t put in the extra hours of education, research, implementation, and testing