Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
buboard
· 7y ago · 0 comments
Can i middle-click open in new tab in your app?
Comments
[–]
Stoids
7y ago
Yes, almost any routing library will expose a Link component wrapper that properly sets those attributes.
[–]
azernik
7y ago
Chiming in with "yes". When you can't, it's a bug; routing frameworks like e.g. react-router render to normal HTML, and only intercept left-clicks to override default browser behavior for those specific actions.