Skip to content

Commit e776e1d

Browse files
committed
directives
1 parent 98e9e73 commit e776e1d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: "Directives"
2+
title: "التوجيهات (Directives)"
33
---
44

55
<Intro>
66

7-
React uses two directives to provide instructions to [bundlers compatible with React Server Components](/learn/start-a-new-react-project#bleeding-edge-react-frameworks).
7+
تستخدم React علامتي توجيه، لإعلام أدوات التجميع (bundlers) بأن ملفاتك تحتوي على [مكونات من جانب الخادم RSC](/learn/start-a-new-react-project#bleeding-edge-react-frameworks)، والتعليمات اللازمة لذلك.
88

99
</Intro>
1010

1111
---
1212

13-
## Source code directives {/*source-code-directives*/}
13+
## توجيهات الكود {/*source-code-directives*/}
1414

15-
* [`'use client'`](/reference/react/use-client) marks source files whose components execute on the client.
16-
* [`'use server'`](/reference/react/use-server) marks server-side functions that can be called from client-side code.
15+
* [`'use client'`](/reference/react/use-client) تميز الملف بأن ما فيه مكون من جانب العميل (client-side).
16+
* [`'use server'`](/reference/react/use-server) تميز الدوال من جانب الخادم (server-side) التي يمكن استدعاؤها من الكود من جانب العميل (client-side).

0 commit comments

Comments
 (0)