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:
- <Link
- href="/destinations"
- scroll={false}
- >