Created
February 21, 2023 13:24
-
-
Save Kola92/97d63acedfc8a7b7e1b78e7539637f1f to your computer and use it in GitHub Desktop.
Link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Next.js v12: `<a>` has to be nested otherwise it's excluded | |
<Link href="/about"> | |
<a>About</a> | |
</Link> | |
// Next.js v13: `<Link>` always renders `<a>` | |
<Link href="/about">About</Link> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment