diff --git a/docs/02-app/02-api-reference/01-directives/use-client.mdx b/docs/02-app/02-api-reference/01-directives/use-client.mdx index d728cdbd4b77d..d693fed8c78dc 100644 --- a/docs/02-app/02-api-reference/01-directives/use-client.mdx +++ b/docs/02-app/02-api-reference/01-directives/use-client.mdx @@ -1,8 +1,6 @@ --- title: use client description: Learn how to use the use client directive to render a component on the client. -related: - description: React documentation for use client. --- The `use client` directive designates a component to be rendered on the **client side** and should be used when creating interactive user interfaces (UI) that require client-side JavaScript capabilities, such as state management, event handling, and access to browser APIs. This is a React feature. diff --git a/docs/02-app/02-api-reference/01-directives/use-server.mdx b/docs/02-app/02-api-reference/01-directives/use-server.mdx index 974e3fa06aa05..88cea45eaeb42 100644 --- a/docs/02-app/02-api-reference/01-directives/use-server.mdx +++ b/docs/02-app/02-api-reference/01-directives/use-server.mdx @@ -1,8 +1,6 @@ --- title: use server description: Learn how to use the use server directive to execute code on the server. -related: - description: React documentation for use server. --- The `use server` directive designates a function or file to be executed on the **server side**. It can be used at the top of a file to indicate that all functions in the file are server-side, or inline at the top of a function to mark the function as a [Server Function](https://19.react.dev/reference/rsc/server-functions). This is a React feature.