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
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
..
components Don’t use chunkhash in development (#4436) 2018-05-23 14:37:02 +02:00
lib Fix page loader page normalization issue (#1844) 2017-05-01 16:26:18 -07:00
pages Respect target on <a/> tags under Link (#4763) 2018-07-12 00:03:25 +02:00
test Respect target on <a/> tags under Link (#4763) 2018-07-12 00:03:25 +02:00
next.config.js Implement "on demand entries" (#1111) 2017-02-26 11:45:16 -08:00