--- title: Directives --- Directives are for use in [React Server Components](/reference/rsc/server-components). Directives provide instructions to [bundlers compatible with React Server Components](/learn/creating-a-react-app#full-stack-frameworks). --- ## Source code directives {/*source-code-directives*/} * [`'use client'`](/reference/rsc/use-client) lets you mark what code runs on the client. * [`'use server'`](/reference/rsc/use-server) marks server-side functions that can be called from client-side code. --- ## Sitemap [Overview of all docs pages](/llms.txt)