Skip to content

Commit a6898fa

Browse files
docs(react-form): fix typo in form composition documentation (#1581)
1 parent 9c24f78 commit a6898fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/guides/form-composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function App() {
222222

223223
> Why a higher-order component instead of a hook?
224224
225-
While hooks are the future of React, higher-order components are still a powerful tool for composition. In particular, the API of `useForm` enables us to have strong type-safety without requiring users to pass generics.
225+
While hooks are the future of React, higher-order components are still a powerful tool for composition. In particular, the API of `withForm` enables us to have strong type-safety without requiring users to pass generics.
226226

227227
> Why am I getting ESLint errors about hooks in `render`?
228228

0 commit comments

Comments
 (0)