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/pages
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
..
dynamic Dynamic component support with multiple modules (#2235) 2017-06-16 18:49:34 +05:30
hmr Don’t use chunkhash in development (#4436) 2018-05-23 14:37:02 +02:00
nav Respect target on <a/> tags under Link (#4763) 2018-07-12 00:03:25 +02:00
nested-cdm Fix page loader page normalization issue (#1844) 2017-05-01 16:26:18 -07:00
using-asset Improved next/asset support (#3664) 2018-02-02 21:09:24 +01:00
async-props.js Upgrade standard.js (#4064) 2018-03-27 20:11:03 +02:00
custom-encoding.js Add a charset to the default Content-Type (#3333) 2017-12-05 16:00:58 -08:00
custom-extension.jsx Add custom-server-typescript example (see #3694) (#3838) 2018-02-22 16:29:47 +01:00
empty-get-initial-props.js Make sure lastAppProps always have some value. (#829) 2017-01-20 11:33:46 -08:00
error-in-the-browser-global-scope.js Improved stacktraces (minor) (#4156) 2018-04-18 21:48:06 +05:30
error-in-the-global-scope.js Fix SSR error handling in the global scope (#3877) 2018-02-24 18:49:08 +05:30
error-inside-browser-page.js Improved stacktraces (minor) (#4156) 2018-04-18 21:48:06 +05:30
error-inside-page.js Fix SSR error handling in the global scope (#3877) 2018-02-24 18:49:08 +05:30
fragment-syntax.js Upgrade Babel 6 to Babel 7 (major) (#4050) 2018-04-03 09:34:07 +02:00
head.js next/head allow duplicates if it has uniq keys (#4121) 2018-06-01 13:12:33 +02:00
index.js Fix the page-loader-normalization issue on '/index' page. (#1882) 2017-05-04 13:05:47 -07:00
json.js Fix .json import issue (#944) 2017-02-01 15:17:15 +09:00
link.js Updated <Link> in repo, always wrapping an anchor. (#798) 2017-01-16 22:27:55 +01:00
no-default-export.js Handle pages with no default export and show an error. (#1484) 2017-03-23 09:40:22 +05:30
stateful.js New test setup (#640) 2017-01-12 13:14:49 +09:00
stateless.js New test setup (#640) 2017-01-12 13:14:49 +09:00
styled-jsx.js New test setup (#640) 2017-01-12 13:14:49 +09:00
url-prop-override.js Fix url prop override (#4191) 2018-04-22 13:20:24 -07:00
url-prop.js Fix url prop override (#4191) 2018-04-22 13:20:24 -07:00
with-cdm.js Fix page loader page normalization issue (#1844) 2017-05-01 16:26:18 -07:00