FileDeck
Multiple choiceDifficulty 2

How do you opt a file into Client Components?

Answer

Add "use client" at the top of the file

Choices

  • Add "use client" at the top of the file
  • Export a client() helper
  • Put the file in /client
  • Set runtime = 'browser'