You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-1Lines changed: 42 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ This will start an interactive wizard, and then run the specified transform.
36
36
37
37
#### `v7/update-register`
38
38
39
-
Update the `register` API inside a component which use `useForm` of React Hook Form. This transform is not applied if the component doesn't use `useForm`.
39
+
Update the `register` API inside a component that use `useForm` of React Hook Form. This transform is not applied if the component doesn't use `useForm`.
40
40
41
41
npx @hookform/codemod v7/update-register
42
42
@@ -77,6 +77,47 @@ With a custom `register` name
77
77
78
78
</details>
79
79
80
+
#### `v7/move-errors-to-formState`
81
+
82
+
It moves `errors` API into `formState` inside a component that use `useForm` of React Hook Form. This transform is not applied if the component doesn't use `useForm`.
0 commit comments