-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #588 from anilcanboga/main
translate directives page
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
--- | ||
title: "Directives" | ||
title: "Direktifler" | ||
canary: true | ||
--- | ||
|
||
<Canary> | ||
|
||
These directives are needed only if you're [using React Server Components](/learn/start-a-new-react-project#bleeding-edge-react-frameworks) or building a library compatible with them. | ||
Bu direktifler yalnızca [React Sunucu Bileşenlerini kullanıyorsanız](/learn/start-a-new-react-project#bleeding-edge-react-frameworks) veya bunlarla uyumlu bir kütüphane oluşturuyorsanız gereklidir. | ||
|
||
</Canary> | ||
|
||
<Intro> | ||
|
||
Directives provide instructions to [bundlers compatible with React Server Components](/learn/start-a-new-react-project#bleeding-edge-react-frameworks). | ||
Direktifler [React Sunucu Bileşenleri ile uyumlu paketleyiciler](/learn/start-a-new-react-project#bleeding-edge-react-frameworks) için talimatlar sağlar. | ||
|
||
</Intro> | ||
|
||
--- | ||
|
||
## Source code directives {/*source-code-directives*/} | ||
## Kaynak kodu direktifleri {/*source-code-directives*/} | ||
|
||
* [`'use client'`](/reference/rsc/use-client) lets you mark what code runs on the client. | ||
* [`'use server'`](/reference/rsc/use-server) marks server-side functions that can be called from client-side code. | ||
* [`'use client'`](/reference/rsc/use-client) istemcide hangi kodun çalışacağını işaretlemenizi sağlar. | ||
* [`'use server'`](/reference/rsc/use-server) istemci tarafı kodundan çağrılabilen sunucu tarafı işlevlerini işaretler. |