Next.js · Junior · Question 8 of 75
Why is <Link> from next/link better than a plain <a href> for internal navigation?
- ✓Correct answer: Navigation without a full page reload, plus route prefetching
- 2
<Link>links are indexed by search engines, while plain<a>aren't - 3
<Link>opens pages in a new browser tab by default
Explanation
<Link> renders a regular <a> (so SEO doesn't suffer) but intercepts the click and performs an SPA transition: shared layouts are kept, and only what's needed is loaded. Links in the viewport are prefetched in production. For external addresses, use a plain <a>.