Skip to content

Commit

Permalink
removing extra reference
Browse files Browse the repository at this point in the history
  • Loading branch information
timeyoutakeit committed Oct 25, 2024
1 parent 1344b75 commit 7c56511
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/02-app/02-api-reference/01-directives/use-client.mdx
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 0 additions & 2 deletions docs/02-app/02-api-reference/01-directives/use-server.mdx
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 7c56511

Please sign in to comment.