MemotivaServer Components and React 19

What is the significance of the use client directive?

Server Components and React 19

Audio flashcard · 0:11

Nortren·

What is the significance of the use client directive?

0:11

The use client directive, placed at the top of a file, marks a module as a Client Component in frameworks that support React Server Components. It tells the bundler to include this code in the client bundle and to run it in the browser.