Click in order · Next.js course · Module 1: Next.js Configuration
Syntax of the 'use client' Directive
Arrange the syntax for declaring a Client Component in Next.js
Items to click
- 'use client'
- export default
- Page()
- { }
- ;
- function
Show the answer
Correct order:
- 'use client'
- ;
- export default
- function
- Page()
- { }