Re:If it goes somewhere, it’s a link. If it does something, ...
by Gigachad on Tuesday October 11, 2022 @10:30PM
(#33172048)
This comes from the fact that SPA routers work best when you use JS to update so you don't have the page flash like a normal page load. React router at least has a trick element which is an a tag with href but if you click it, it intercepts it an does an onclick load. But it still works as a link for all other purposes like copying location.
[ Parent
| on HN ]
There are no comments on this comment yet.