Skip to content

Commit 66299f1

Browse files
committed
translate server actions page
1 parent 051b244 commit 66299f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ function UpdateName() {
186186

187187
Sunucu Eylemleri ile `useActionState` kullanıldığında, React ayrıca hidrasyon tamamlanmadan önce girilen form gönderimlerini otomatik olarak yeniden oynatacaktır. Bu, kullanıcıların uygulama hidratlanmadan önce bile uygulamanızla etkileşime girebileceği anlamına gelir.
188188

189-
For more, see the docs for [`useActionState`](/reference/react-dom/hooks/useFormState).
189+
Daha fazlası için [`useActionState`](/reference/react-dom/hooks/useFormState) dokümanlarına bakın.
190190

191-
### Progressive enhancement with `useActionState` {/*progressive-enhancement-with-useactionstate*/}
191+
### `UseActionState` ile aşamalı iyileştirme {/*progressive-enhancement-with-useactionstate*/}
192192

193-
Server Actions also support progressive enhancement with the third argument of `useActionState`.
193+
Sunucu Eylemleri ayrıca `useActionState` üçüncü bağımsız değişkeni ile aşamalı geliştirmeyi de destekler.
194194

195195
```js [[1, 3, "updateName"], [1, 6, "updateName"], [2, 6, "/name/update"], [3, 6, "submitAction"], [3, 9, "submitAction"]]
196196
"use client";
@@ -208,6 +208,6 @@ function UpdateName() {
208208
}
209209
```
210210

211-
When the <CodeStep step={2}>permalink</CodeStep> is provided to `useActionState`, React will redirect to the provided URL if the form is submitted before the JavaScript bundle loads.
211+
<CodeStep step={2}>permalink</CodeStep> `useActionState` için sağlandığında, form JavaScript paketi yüklenmeden önce gönderilirse React sağlanan URL'ye yönlendirecektir.
212212

213-
For more, see the docs for [`useActionState`](/reference/react-dom/hooks/useFormState).
213+
Daha fazlası için [`useActionState`](/reference/react-dom/hooks/useFormState) dokümanlarına bakın.

0 commit comments

Comments
 (0)