react-hook-form 7.44.2 → 7.44.3-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.33.7"
9
+ }
10
+ ]
11
+ }
@@ -28,7 +28,7 @@ export type FieldArrayMethodProps = {
28
28
  * Swap field array by supplying from and to index
29
29
  *
30
30
  * @remarks
31
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
31
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
32
32
  *
33
33
  * @param indexA - from index
34
34
  * @param indexB - to index
@@ -43,7 +43,7 @@ export type UseFieldArraySwap = (indexA: number, indexB: number) => void;
43
43
  * Move field array by supplying from and to index
44
44
  *
45
45
  * @remarks
46
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
46
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
47
47
  *
48
48
  * @param indexA - from index
49
49
  * @param indexB - to index
@@ -58,7 +58,7 @@ export type UseFieldArrayMove = (indexA: number, indexB: number) => void;
58
58
  * Prepend field/fields to the start of the fields and optionally focus. The input value will be registered during this action.
59
59
  *
60
60
  * @remarks
61
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
61
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
62
62
  *
63
63
  * @param value - prepend items or items
64
64
  * @param options - focus options
@@ -80,7 +80,7 @@ export type UseFieldArrayPrepend<TFieldValues extends FieldValues, TFieldArrayNa
80
80
  * Append field/fields to the end of your fields and focus. The input value will be registered during this action.
81
81
  *
82
82
  * @remarks
83
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
83
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
84
84
  *
85
85
  * @param value - append items or items.
86
86
  * @param options - focus options
@@ -102,7 +102,7 @@ export type UseFieldArrayAppend<TFieldValues extends FieldValues, TFieldArrayNam
102
102
  * Remove field/fields at particular position.
103
103
  *
104
104
  * @remarks
105
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
105
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
106
106
  *
107
107
  * @param index - index to remove at, or remove all when no index provided.
108
108
  *
@@ -122,7 +122,7 @@ export type UseFieldArrayRemove = (index?: number | number[]) => void;
122
122
  * Insert field/fields at particular position and focus.
123
123
  *
124
124
  * @remarks
125
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
125
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
126
126
  *
127
127
  * @param index - insert position
128
128
  * @param value - insert field or fields
@@ -145,7 +145,7 @@ export type UseFieldArrayInsert<TFieldValues extends FieldValues, TFieldArrayNam
145
145
  * Update field/fields at particular position.
146
146
  *
147
147
  * @remarks
148
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
148
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
149
149
  *
150
150
  * @param index - insert position
151
151
  * @param value - insert field or fields
@@ -166,7 +166,7 @@ export type UseFieldArrayUpdate<TFieldValues extends FieldValues, TFieldArrayNam
166
166
  * Replace the entire field array values.
167
167
  *
168
168
  * @remarks
169
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
169
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
170
170
  *
171
171
  * @param value - the entire field values.
172
172
  *
@@ -126,7 +126,7 @@ export type UseFormRegisterReturn<TFieldName extends InternalFieldName = Interna
126
126
  * Register field into hook form with or without the actual DOM ref. You can invoke register anywhere in the component including at `useEffect`.
127
127
  *
128
128
  * @remarks
129
- * [API](https://react-hook-form.com/api/useform/register) • [Demo](https://codesandbox.io/s/react-hook-form-register-ts-ip2j3) • [Video](https://www.youtube.com/watch?v=JFIpCoajYkA)
129
+ * [API](https://react-hook-form.com/docs/useform/register) • [Demo](https://codesandbox.io/s/react-hook-form-register-ts-ip2j3) • [Video](https://www.youtube.com/watch?v=JFIpCoajYkA)
130
130
  *
131
131
  * @param name - the path name to the form field value, name is required and unique
132
132
  * @param options - register options include validation, disabled, unregister, value as and dependent validation
@@ -163,7 +163,7 @@ export type SetFocusOptions = Partial<{
163
163
  * Set focus on a registered field. You can start to invoke this method after all fields are mounted to the DOM.
164
164
  *
165
165
  * @remarks
166
- * [API](https://react-hook-form.com/api/useform/setfocus) • [Demo](https://codesandbox.io/s/setfocus-rolus)
166
+ * [API](https://react-hook-form.com/docs/useform/setfocus) • [Demo](https://codesandbox.io/s/setfocus-rolus)
167
167
  *
168
168
  * @param name - the path name to the form field value.
169
169
  * @param options - input focus behavior options
@@ -183,7 +183,7 @@ export type UseFormGetValues<TFieldValues extends FieldValues> = {
183
183
  * Get the entire form values when no argument is supplied to this function.
184
184
  *
185
185
  * @remarks
186
- * [API](https://react-hook-form.com/api/useform/getvalues) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-getvalues-txsfg)
186
+ * [API](https://react-hook-form.com/docs/useform/getvalues) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-getvalues-txsfg)
187
187
  *
188
188
  * @returns form values
189
189
  *
@@ -201,7 +201,7 @@ export type UseFormGetValues<TFieldValues extends FieldValues> = {
201
201
  * Get a single field value.
202
202
  *
203
203
  * @remarks
204
- * [API](https://react-hook-form.com/api/useform/getvalues) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-getvalues-txsfg)
204
+ * [API](https://react-hook-form.com/docs/useform/getvalues) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-getvalues-txsfg)
205
205
  *
206
206
  * @param name - the path name to the form field value.
207
207
  *
@@ -221,7 +221,7 @@ export type UseFormGetValues<TFieldValues extends FieldValues> = {
221
221
  * Get an array of field values.
222
222
  *
223
223
  * @remarks
224
- * [API](https://react-hook-form.com/api/useform/getvalues) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-getvalues-txsfg)
224
+ * [API](https://react-hook-form.com/docs/useform/getvalues) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-getvalues-txsfg)
225
225
  *
226
226
  * @param names - an array of field names
227
227
  *
@@ -242,7 +242,7 @@ export type UseFormGetValues<TFieldValues extends FieldValues> = {
242
242
  * This method will return individual field states. It will be useful when you are trying to retrieve the nested value field state in a typesafe approach.
243
243
  *
244
244
  * @remarks
245
- * [API](https://react-hook-form.com/api/useform/getfieldstate) • [Demo](https://codesandbox.io/s/getfieldstate-jvekk)
245
+ * [API](https://react-hook-form.com/docs/useform/getfieldstate) • [Demo](https://codesandbox.io/s/getfieldstate-jvekk)
246
246
  *
247
247
  * @param name - the path name to the form field value.
248
248
  *
@@ -273,7 +273,7 @@ export type UseFormWatch<TFieldValues extends FieldValues> = {
273
273
  * Watch and subscribe to the entire form update/change based on onChange and re-render at the useForm.
274
274
  *
275
275
  * @remarks
276
- * [API](https://react-hook-form.com/api/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
276
+ * [API](https://react-hook-form.com/docs/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
277
277
  *
278
278
  * @returns return the entire form values
279
279
  *
@@ -287,7 +287,7 @@ export type UseFormWatch<TFieldValues extends FieldValues> = {
287
287
  * Watch and subscribe to an array of fields used outside of render.
288
288
  *
289
289
  * @remarks
290
- * [API](https://react-hook-form.com/api/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
290
+ * [API](https://react-hook-form.com/docs/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
291
291
  *
292
292
  * @param names - an array of field names
293
293
  * @param defaultValue - defaultValues for the entire form
@@ -304,7 +304,7 @@ export type UseFormWatch<TFieldValues extends FieldValues> = {
304
304
  * Watch and subscribe to a single field used outside of render.
305
305
  *
306
306
  * @remarks
307
- * [API](https://react-hook-form.com/api/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
307
+ * [API](https://react-hook-form.com/docs/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
308
308
  *
309
309
  * @param name - the path name to the form field value.
310
310
  * @param defaultValue - defaultValues for the entire form
@@ -321,7 +321,7 @@ export type UseFormWatch<TFieldValues extends FieldValues> = {
321
321
  * Subscribe to field update/change without trigger re-render
322
322
  *
323
323
  * @remarks
324
- * [API](https://react-hook-form.com/api/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
324
+ * [API](https://react-hook-form.com/docs/useform/watch) • [Demo](https://codesandbox.io/s/react-hook-form-watch-v7-ts-8et1d) • [Video](https://www.youtube.com/watch?v=3qLd69WMqKk)
325
325
  *
326
326
  * @param callback - call back function to subscribe all fields change and return unsubscribe function
327
327
  * @param defaultValues - defaultValues for the entire form
@@ -344,7 +344,7 @@ export type UseFormWatch<TFieldValues extends FieldValues> = {
344
344
  * Trigger field or form validation
345
345
  *
346
346
  * @remarks
347
- * [API](https://react-hook-form.com/api/useform/trigger) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-triggervalidation-forked-xs7hl) • [Video](https://www.youtube.com/watch?v=-bcyJCDjksE)
347
+ * [API](https://react-hook-form.com/docs/useform/trigger) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-triggervalidation-forked-xs7hl) • [Video](https://www.youtube.com/watch?v=-bcyJCDjksE)
348
348
  *
349
349
  * @param name - provide empty argument will trigger the entire form validation, an array of field names will validate an arrange of fields, and a single field name will only trigger that field's validation.
350
350
  * @param options - should focus on the error field
@@ -369,7 +369,7 @@ export type UseFormTrigger<TFieldValues extends FieldValues> = (name?: FieldPath
369
369
  * Clear the entire form errors.
370
370
  *
371
371
  * @remarks
372
- * [API](https://react-hook-form.com/api/useform/clearerrors) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-clearerrors-w3ymx)
372
+ * [API](https://react-hook-form.com/docs/useform/clearerrors) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-clearerrors-w3ymx)
373
373
  *
374
374
  * @param name - the path name to the form field value.
375
375
  *
@@ -386,7 +386,7 @@ export type UseFormClearErrors<TFieldValues extends FieldValues> = (name?: Field
386
386
  * Set a single field value, or a group of fields value.
387
387
  *
388
388
  * @remarks
389
- * [API](https://react-hook-form.com/api/useform/setvalue) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-setvalue-8z9hx) • [Video](https://www.youtube.com/watch?v=qpv51sCH3fI)
389
+ * [API](https://react-hook-form.com/docs/useform/setvalue) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-setvalue-8z9hx) • [Video](https://www.youtube.com/watch?v=qpv51sCH3fI)
390
390
  *
391
391
  * @param name - the path name to the form field value.
392
392
  * @param value - field value
@@ -416,7 +416,7 @@ export type UseFormSetValue<TFieldValues extends FieldValues> = <TFieldName exte
416
416
  * Set an error for the field. When set an error which is not associated to a field then manual `clearErrors` invoke is required.
417
417
  *
418
418
  * @remarks
419
- * [API](https://react-hook-form.com/api/useform/seterror) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-seterror-nfxxu) • [Video](https://www.youtube.com/watch?v=raMqvE0YyIY)
419
+ * [API](https://react-hook-form.com/docs/useform/seterror) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-seterror-nfxxu) • [Video](https://www.youtube.com/watch?v=raMqvE0YyIY)
420
420
  *
421
421
  * @param name - the path name to the form field value.
422
422
  * @param error - an error object which contains type and optional message
@@ -440,7 +440,7 @@ export type UseFormSetError<TFieldValues extends FieldValues> = (name: FieldPath
440
440
  * Unregister a field reference and remove its value.
441
441
  *
442
442
  * @remarks
443
- * [API](https://react-hook-form.com/api/useform/unregister) • [Demo](https://codesandbox.io/s/react-hook-form-unregister-4k2ey) • [Video](https://www.youtube.com/watch?v=TM99g_NW5Gk&feature=emb_imp_woyt)
443
+ * [API](https://react-hook-form.com/docs/useform/unregister) • [Demo](https://codesandbox.io/s/react-hook-form-unregister-4k2ey) • [Video](https://www.youtube.com/watch?v=TM99g_NW5Gk&feature=emb_imp_woyt)
444
444
  *
445
445
  * @param name - the path name to the form field value.
446
446
  * @param options - keep form state options
@@ -463,7 +463,7 @@ export type UseFormUnregister<TFieldValues extends FieldValues> = (name?: FieldP
463
463
  * Validate the entire form. Handle submit and error callback.
464
464
  *
465
465
  * @remarks
466
- * [API](https://react-hook-form.com/api/useform/handlesubmit) • [Demo](https://codesandbox.io/s/react-hook-form-handlesubmit-ts-v7-lcrtu) • [Video](https://www.youtube.com/watch?v=KzcPKB9SOEk)
466
+ * [API](https://react-hook-form.com/docs/useform/handlesubmit) • [Demo](https://codesandbox.io/s/react-hook-form-handlesubmit-ts-v7-lcrtu) • [Video](https://www.youtube.com/watch?v=KzcPKB9SOEk)
467
467
  *
468
468
  * @param onValid - callback function invoked after form pass validation
469
469
  * @param onInvalid - callback function invoked when form failed validation
@@ -483,7 +483,7 @@ export type UseFormHandleSubmit<TFieldValues extends FieldValues, TTransformedVa
483
483
  * Reset a field state and reference.
484
484
  *
485
485
  * @remarks
486
- * [API](https://react-hook-form.com/api/useform/resetfield) • [Demo](https://codesandbox.io/s/priceless-firefly-d0kuv) • [Video](https://www.youtube.com/watch?v=IdLFcNaEFEo)
486
+ * [API](https://react-hook-form.com/docs/useform/resetfield) • [Demo](https://codesandbox.io/s/priceless-firefly-d0kuv) • [Video](https://www.youtube.com/watch?v=IdLFcNaEFEo)
487
487
  *
488
488
  * @param name - the path name to the form field value.
489
489
  * @param options - keep form state options
@@ -505,7 +505,7 @@ type ResetAction<TFieldValues> = (formValues: TFieldValues) => TFieldValues;
505
505
  * Reset at the entire form state.
506
506
  *
507
507
  * @remarks
508
- * [API](https://react-hook-form.com/api/useform/reset) • [Demo](https://codesandbox.io/s/react-hook-form-reset-v7-ts-pu901) • [Video](https://www.youtube.com/watch?v=qmCLBjyPwVk)
508
+ * [API](https://react-hook-form.com/docs/useform/reset) • [Demo](https://codesandbox.io/s/react-hook-form-reset-v7-ts-pu901) • [Video](https://www.youtube.com/watch?v=qmCLBjyPwVk)
509
509
  *
510
510
  * @param values - the entire form values to be reset
511
511
  * @param keepStateOptions - keep form state options
@@ -3,7 +3,7 @@ import { FieldPath, FieldValues, UseControllerProps, UseControllerReturn } from
3
3
  * Custom hook to work with controlled component, this function provide you with both form and field level state. Re-render is isolated at the hook level.
4
4
  *
5
5
  * @remarks
6
- * [API](https://react-hook-form.com/api/usecontroller) • [Demo](https://codesandbox.io/s/usecontroller-0o8px)
6
+ * [API](https://react-hook-form.com/docs/usecontroller) • [Demo](https://codesandbox.io/s/usecontroller-0o8px)
7
7
  *
8
8
  * @param props - the path name to the form field value, and validation rules.
9
9
  *
@@ -3,7 +3,7 @@ import { FieldArrayPath, FieldValues, UseFieldArrayProps, UseFieldArrayReturn }
3
3
  * A custom hook that exposes convenient methods to perform operations with a list of dynamic inputs that need to be appended, updated, removed etc. • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn) • [Video](https://youtu.be/4MrbfGSFY2A)
4
4
  *
5
5
  * @remarks
6
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn)
6
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn)
7
7
  *
8
8
  * @param props - useFieldArray props
9
9
  *
package/dist/useForm.d.ts CHANGED
@@ -3,7 +3,7 @@ import { FieldValues, UseFormProps, UseFormReturn } from './types';
3
3
  * Custom hook to manage the entire form.
4
4
  *
5
5
  * @remarks
6
- * [API](https://react-hook-form.com/api/useform) • [Demo](https://codesandbox.io/s/react-hook-form-get-started-ts-5ksmm) • [Video](https://www.youtube.com/watch?v=RkXv4AXXC_4)
6
+ * [API](https://react-hook-form.com/docs/useform) • [Demo](https://codesandbox.io/s/react-hook-form-get-started-ts-5ksmm) • [Video](https://www.youtube.com/watch?v=RkXv4AXXC_4)
7
7
  *
8
8
  * @param props - form configuration and validation parameters.
9
9
  *
@@ -4,7 +4,7 @@ import { FieldValues, FormProviderProps, UseFormReturn } from './types';
4
4
  * This custom hook allows you to access the form context. useFormContext is intended to be used in deeply nested structures, where it would become inconvenient to pass the context as a prop. To be used with {@link FormProvider}.
5
5
  *
6
6
  * @remarks
7
- * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
7
+ * [API](https://react-hook-form.com/docs/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
8
8
  *
9
9
  * @returns return all useForm methods
10
10
  *
@@ -35,7 +35,7 @@ export declare const useFormContext: <TFieldValues extends FieldValues, Transfor
35
35
  * A provider component that propagates the `useForm` methods to all children components via [React Context](https://reactjs.org/docs/context.html) API. To be used with {@link useFormContext}.
36
36
  *
37
37
  * @remarks
38
- * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
38
+ * [API](https://react-hook-form.com/docs/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
39
39
  *
40
40
  * @param props - all useFrom methods
41
41
  *
@@ -3,7 +3,7 @@ import { FieldValues, UseFormStateProps, UseFormStateReturn } from './types';
3
3
  * This custom hook allows you to subscribe to each form state, and isolate the re-render at the custom hook level. It has its scope in terms of form state subscription, so it would not affect other useFormState and useForm. Using this hook can reduce the re-render impact on large and complex form application.
4
4
  *
5
5
  * @remarks
6
- * [API](https://react-hook-form.com/api/useformstate) • [Demo](https://codesandbox.io/s/useformstate-75xly)
6
+ * [API](https://react-hook-form.com/docs/useformstate) • [Demo](https://codesandbox.io/s/useformstate-75xly)
7
7
  *
8
8
  * @param props - include options on specify fields to subscribe. {@link UseFormStateReturn}
9
9
  *
@@ -4,7 +4,7 @@ import { Control, DeepPartialSkipArrayKey, FieldPath, FieldPathValue, FieldPathV
4
4
  *
5
5
  * @remarks
6
6
  *
7
- * [API](https://react-hook-form.com/api/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
7
+ * [API](https://react-hook-form.com/docs/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
8
8
  *
9
9
  * @param props - defaultValue, disable subscription and match exact name.
10
10
  *
@@ -31,7 +31,7 @@ export declare function useWatch<TFieldValues extends FieldValues = FieldValues>
31
31
  *
32
32
  * @remarks
33
33
  *
34
- * [API](https://react-hook-form.com/api/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
34
+ * [API](https://react-hook-form.com/docs/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
35
35
  *
36
36
  * @param props - defaultValue, disable subscription and match exact name.
37
37
  *
@@ -58,7 +58,7 @@ export declare function useWatch<TFieldValues extends FieldValues = FieldValues,
58
58
  *
59
59
  * @remarks
60
60
  *
61
- * [API](https://react-hook-form.com/api/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
61
+ * [API](https://react-hook-form.com/docs/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
62
62
  *
63
63
  * @param props - defaultValue, disable subscription and match exact name.
64
64
  *
@@ -88,7 +88,7 @@ export declare function useWatch<TFieldValues extends FieldValues = FieldValues,
88
88
  *
89
89
  * @remarks
90
90
  *
91
- * [API](https://react-hook-form.com/api/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
91
+ * [API](https://react-hook-form.com/docs/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
92
92
  *
93
93
  * @example
94
94
  * ```tsx
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-hook-form",
3
3
  "description": "Performant, flexible and extensible forms library for React Hooks",
4
- "version": "7.44.2",
4
+ "version": "7.44.3-beta.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.mjs",
7
7
  "umd:main": "dist/index.umd.js",