Put in order · Next.js course · Module 2: Routing and Layouts

Link with the scroll Option

Arrange the opening syntax of a Link component that disables automatic scroll to the top

Items to put in order

  • >
  • href="/destinations"
  • scroll={false}
  • <Link
Show the answer

Correct order:

  1. <Link
  2. href="/destinations"
  3. scroll={false}
  4. >