|
|
|
|
|
by azdle
1285 days ago
|
|
> There's many things to love about the design, but the fact that they use actual anchor tags and override the default behavior with JS is extremely frustrating and makes opening in a new tab impossible. I've only ever dabbled in webdev, but I thought this _was_ the right way to do it? Having an actual anchor tag with an href that overrides onclick means that your fancy javascripty partial page load works, but so does middle click and regular clicking without javascript. Is there some other way that's even more compatible? Middle-clicking everything on mcmaster's site seemed to work for me in firefox. |
|
This is how react-router handles it: https://github.com/remix-run/react-router/blob/main/packages...