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 9f48f6d commit f090c35Copy full SHA for f090c35
react/advanced-hooks/06-form-actions/lecture/App.tsx
@@ -151,8 +151,9 @@ export function App() {
151
// 1. Use `action` instead of `onSubmit`
152
// 2. Remove `event` and `event.preventDefault` because actions do not
153
// submit the form like `onSubmit` does
154
+// 3. Show `useFormStatus()` and `<Pending>` component
155
-// By convention, functions that use async transitions are called “Actions”.
156
+// By convention, functions that use async transitions are called "Actions".
157
// https://react.dev/blog/2024/04/25/react-19#by-convention-functions-that-use-async-transitions-are-called-actions
158
159
// export function App() {
0 commit comments