You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/rsc/server-actions.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,17 @@ Bir Sunucu Eylemi `“use server”` direktifi tanımlandığında, çatınız o
25
25
26
26
Sunucu Eylemleri, Sunucu Bileşenlerinde oluşturulabilir ve İstemci Bileşenlerine destek olarak aktarılabilir veya İstemci Bileşenlerinde içe aktarılabilir ve kullanılabilir
27
27
28
-
### Creating a Server Action from a Server Component {/*creating-a-server-action-from-a-server-component*/}
When React renders the `EmptyNote`Server Component, it will create a reference to the `createNoteAction`function, and pass that reference to the`Button`Client Component. When the button is clicked, React will send a request to the server to execute the `createNoteAction`function with the reference provided:
48
+
React, `EmptyNote`Sunucu Bileşenini işlediğinde, `createNoteAction`fonksiyonuna bir referans oluşturacak ve bu referansı`Button`İstemci Bileşenine aktaracaktır. Butona tıklandığında, React, sağlanan referansla `createNoteAction`fonksiyonunu çalıştırmak için sunucuya bir istek gönderecektir:
0 commit comments