We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f0f464 commit 2294874Copy full SHA for 2294874
src/content/reference/react-dom/hooks/useFormState.md
@@ -51,7 +51,7 @@ function StatefulForm({}) {
51
52
form state 是一个只在表单被提交触发 action 后才会被更新的值。如果该表单没有被提交,该值会保持传入的初始值不变。
53
54
-如果配合 Server Actions 一起使用,`useFormState` 允许与表单交互的服务器的返回值在 hydration 完成前显示。
+如果配合 Server Action 一起使用,`useFormState` 允许与表单交互的服务器的返回值在 hydration 完成前显示。
55
56
[请参阅下方更多示例](#usage)。
57
@@ -117,7 +117,7 @@ function action(currentState, formData) {
117
118
#### 展示表单错误 {/*display-form-errors*/}
119
120
-将 action 包裹进 `useFormState` 即可展示诸如错误信息或 Server Actions 返回的 toast 等信息。
+将 action 包裹进 `useFormState` 即可展示诸如错误信息或 Server Action 返回的 toast 等信息。
121
122
<Sandpack>
123
0 commit comments