Skip to content

Commit f090c35

Browse files
committed
wording
1 parent 9f48f6d commit f090c35

File tree

1 file changed

+2
-1
lines changed
  • react/advanced-hooks/06-form-actions/lecture

1 file changed

+2
-1
lines changed

react/advanced-hooks/06-form-actions/lecture/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ export function App() {
151151
// 1. Use `action` instead of `onSubmit`
152152
// 2. Remove `event` and `event.preventDefault` because actions do not
153153
// submit the form like `onSubmit` does
154+
// 3. Show `useFormStatus()` and `<Pending>` component
154155

155-
// By convention, functions that use async transitions are called Actions.
156+
// By convention, functions that use async transitions are called "Actions".
156157
// https://react.dev/blog/2024/04/25/react-19#by-convention-functions-that-use-async-transitions-are-called-actions
157158

158159
// export function App() {

0 commit comments

Comments
 (0)