marko-router5 icon indicating copy to clipboard operation
marko-router5 copied to clipboard

Feature: Open route-links in new tab with modifier key

Open hedefalk opened this issue 7 years ago • 1 comments

It would be nice to be able to open links in new tab if using modifier with the route-link component.

hedefalk avatar Nov 02 '18 14:11 hedefalk

I looked at react-router5 and they did something very simple thing that just using default when no modifier is used:

https://github.com/router5/react-router5/blob/26e4bc05fe896cb19fbb3cfee6cad3b2830adfc3/modules/BaseLink.js#L43

I'll send a PR for this if you want it :)

hedefalk avatar Nov 02 '18 14:11 hedefalk