Skip to content

Commit 9a3dc3b

Browse files
lunaleapssmikitkydavidmccabeLuna Wei
authored andcommitted
'use client' - flesh out usages and reference (#6362)
Co-authored-by: Soichiro Miki <[email protected]> Co-authored-by: David McCabe <[email protected]> Co-authored-by: Luna Wei <[email protected]>
1 parent 9dcf6e4 commit 9a3dc3b

File tree

6 files changed

+335
-20
lines changed

6 files changed

+335
-20
lines changed
17.9 KB
Loading
17.8 KB
Loading
13.3 KB
Loading
13.4 KB
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)