We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What it shouldn't do is create any element (for now we do, but we will show a warning) The problem is that the current error message is misleading.
These should be possible:
<Link><img /></Link> <Link><a /></Link> <Link><a><img /></a></Link>
This should wrap with <a> for now and warn:
<a>
<Link>hi</Link> <Link>{ ' woot' }</Link>
This should throw (dev-only, to ship less code)
<Link></Link>
https://github.com/zeit/next.js/blob/master/lib/link.js#L73
The text was updated successfully, but these errors were encountered:
Looking into this now 🙌
Sorry, something went wrong.
#921
Thank you @timneutkens !
timneutkens
No branches or pull requests
What it shouldn't do is create any element (for now we do, but we will show a warning)
The problem is that the current error message is misleading.
These should be possible:
This should wrap with
<a>
for now and warn:This should throw (dev-only, to ship less code)
https://github.com/zeit/next.js/blob/master/lib/link.js#L73
The text was updated successfully, but these errors were encountered: