1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test/integration/basic/test
James Reggio 1a3f950777 Respect target on <a/> tags under Link (#4763)
There are occasions where it is useful to have `target='_blank'` on hyperlinks within your own app. (For example, if your app is being loaded in an iframe and you'd like for the links to break out in to new windows.)

With this PR, the `onClick` logic in Link now checks for an external target on the nested <a/> tag, and will fall back to the default behavior if it's present, similar to the logic for shift-/cmd-clicking the link.
2018-07-12 00:03:25 +02:00
..
asset.js Improved next/asset support (#3664) 2018-02-02 21:09:24 +01:00
client-navigation.js Respect target on <a/> tags under Link (#4763) 2018-07-12 00:03:25 +02:00
dynamic.js Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
error-recovery.js Upgrade standard.js (#4064) 2018-03-27 20:11:03 +02:00
hmr.js Use custom Babel loader to avoid using separate Babel copies for loader and loader options (#4417) 2018-05-23 20:26:57 +02:00
index.test.js Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
rendering.js next/head allow duplicates if it has uniq keys (#4121) 2018-06-01 13:12:33 +02:00