Skip to content

Commit 9c60167

Browse files
lunaleapssmikitkydavidmccabeLuna Wei
authored
'use client' - flesh out usages and reference (#6362)
Co-authored-by: Soichiro Miki <smiki-tky@umin.ac.jp> Co-authored-by: David McCabe <davemccabe@gmail.com> Co-authored-by: Luna Wei <luwe@fb.com>
1 parent 49c2d78 commit 9c60167

File tree

6 files changed

+335
-20
lines changed

6 files changed

+335
-20
lines changed
Loading
Loading
Loading
Loading

src/content/reference/react/directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Directives provide instructions to [bundlers compatible with React Server Compon
1919

2020
## Source code directives {/*source-code-directives*/}
2121

22-
* [`'use client'`](/reference/react/use-client) marks source files whose components execute on the client.
22+
* [`'use client'`](/reference/react/use-client) lets you mark what code runs on the client.
2323
* [`'use server'`](/reference/react/use-server) marks server-side functions that can be called from client-side code.

src/content/reference/react/use-client.md

Lines changed: 334 additions & 19 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)