Directives
React uses two directives to provide instructions to bundlers compatible with React Server Components.
Source code directives
'use client'
marks source files whose components execute on the client.'use server'
marks server-side functions that can be called from client-side code.