Skip to content

Commit fad9881

Browse files
committed
translate server actions page
1 parent 89d5cbd commit fad9881

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/reference/rsc/server-actions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export default function Button({onClick}) {
6060
Daha fazlası için [`“use server”`](/reference/rsc/use-server) dokümanlarına bakın.
6161

6262

63-
### Importing Server Actions from Client Components {/*importing-server-actions-from-client-components*/}
63+
### İstemci Bileşenlerinden Sunucu Eylemlerini İçe Aktarma {/*importing-server-actions-from-client-components*/}
6464

65-
Client Components can import Server Actions from files that use the `"use server"` directive:
65+
İstemci Bileşenleri, `“use server”` direktifini kullanan dosyalardan Sunucu Eylemlerini içe aktarabilir:
6666

6767
```js [[1, 3, "createNoteAction"]]
6868
"use server";
@@ -73,7 +73,7 @@ export async function createNoteAction() {
7373

7474
```
7575

76-
When the bundler builds the `EmptyNote` Client Component, it will create a reference to the `createNoteAction` function in the bundle. When the `button` is clicked, React will send a request to the server to execute the `createNoteAction` function using the reference provided:
76+
Paketleyici `EmptyNote` İstemci Bileşenini oluşturduğunda, paketteki `createNoteAction` işlevine bir referans oluşturacaktır. Butona tıklandığında React, sağlanan referansı kullanarak `createNoteAction` fonksiyonunu çalıştırmak için sunucuya bir istek gönderecektir:
7777

7878
```js [[1, 2, "createNoteAction"], [1, 5, "createNoteAction"], [1, 7, "createNoteAction"]]
7979
"use client";
@@ -86,7 +86,7 @@ function EmptyNote() {
8686
}
8787
```
8888

89-
For more, see the docs for [`"use server"`](/reference/rsc/use-server).
89+
Daha fazlası için [`use server`](/reference/rsc/use-server) dokümanlarına bakın.
9090

9191
### Composing Server Actions with Actions {/*composing-server-actions-with-actions*/}
9292

0 commit comments

Comments
 (0)