@@ -94,7 +94,7 @@ export default function ApiGallery({ defaultLang }) {
94
94
</ h3 >
95
95
< p >
96
96
A powerful custom hook to validate your form with minimal
97
- re-render .
97
+ re-renders .
98
98
</ p >
99
99
< Link to = "/api/useform" aria-label = { "read more about useForm" } >
100
100
Read More ▸
@@ -107,8 +107,9 @@ export default function ApiGallery({ defaultLang }) {
107
107
< code > { `</>` } </ code > useController
108
108
</ h3 >
109
109
< p >
110
- It is the go-to hook for Controlled components and isolates its
111
- re-render.
110
+ For Controlled components: interface with the useForm methods
111
+ and and isolate its re-render. Alternative to RHF's Controller
112
+ component.
112
113
</ p >
113
114
< Link
114
115
to = "/api/usecontroller"
@@ -124,8 +125,9 @@ export default function ApiGallery({ defaultLang }) {
124
125
< code > { `</>` } </ code > useFormContext
125
126
</ h3 >
126
127
< p >
127
- Building large forms and would like to access useForm methods in
128
- context.
128
+ Access your useForm methods and properties from nested
129
+ components, using React context. Great for building larger forms
130
+ and shared components!
129
131
</ p >
130
132
< Link
131
133
to = "/api/useformcontext"
@@ -141,7 +143,7 @@ export default function ApiGallery({ defaultLang }) {
141
143
< code > { `</>` } </ code > useWatch
142
144
</ h3 >
143
145
< p >
144
- Subscribe to individual form input change without impacting the
146
+ Subscribe to individual form input changes without impacting the
145
147
root component's render.
146
148
</ p >
147
149
< Link to = "/api/usewatch" aria-label = { "read more about usewatch" } >
@@ -155,8 +157,8 @@ export default function ApiGallery({ defaultLang }) {
155
157
< code > { `</>` } </ code > useFormState
156
158
</ h3 >
157
159
< p >
158
- Subscribe to individual form state update and isolate re-render
159
- at the hook level.
160
+ Subscribe to individual form state updates and isolating
161
+ re-renders at the hook level.
160
162
</ p >
161
163
< Link
162
164
to = "/api/useformstate"
@@ -172,8 +174,8 @@ export default function ApiGallery({ defaultLang }) {
172
174
< code > { `</>` } </ code > useFieldArray
173
175
</ h3 >
174
176
< p >
175
- Manage dynamically generate fields on the fly, shuffle, remove
176
- and append fields.
177
+ Manage dynamically generated fields on the fly, shuffle, remove
178
+ and append fields. Ideal for complex CRUD data entry scenarios.
177
179
</ p >
178
180
< Link
179
181
to = "/api/usefieldarray"
0 commit comments