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.
@@ -104,7 +104,7 @@ const HookFormContext = React__default.createContext(null);
104
104
  * 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}.
105
105
  *
106
106
  * @remarks
107
- * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
107
+ * [API](https://react-hook-form.com/docs/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
108
108
  *
109
109
  * @returns return all useForm methods
110
110
  *
@@ -135,7 +135,7 @@ const useFormContext = () => React__default.useContext(HookFormContext);
135
135
  * 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}.
136
136
  *
137
137
  * @remarks
138
- * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
138
+ * [API](https://react-hook-form.com/docs/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)
139
139
  *
140
140
  * @param props - all useFrom methods
141
141
  *
@@ -226,7 +226,7 @@ function useSubscribe(props) {
226
226
  * 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.
227
227
  *
228
228
  * @remarks
229
- * [API](https://react-hook-form.com/api/useformstate) • [Demo](https://codesandbox.io/s/useformstate-75xly)
229
+ * [API](https://react-hook-form.com/docs/useformstate) • [Demo](https://codesandbox.io/s/useformstate-75xly)
230
230
  *
231
231
  * @param props - include options on specify fields to subscribe. {@link UseFormStateReturn}
232
232
  *
@@ -308,7 +308,7 @@ var generateWatchOutput = (names, _names, formValues, isGlobal, defaultValue) =>
308
308
  *
309
309
  * @remarks
310
310
  *
311
- * [API](https://react-hook-form.com/api/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
311
+ * [API](https://react-hook-form.com/docs/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)
312
312
  *
313
313
  * @example
314
314
  * ```tsx
@@ -369,7 +369,7 @@ function set(object, path, value) {
369
369
  * 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.
370
370
  *
371
371
  * @remarks
372
- * [API](https://react-hook-form.com/api/usecontroller) • [Demo](https://codesandbox.io/s/usecontroller-0o8px)
372
+ * [API](https://react-hook-form.com/docs/usecontroller) • [Demo](https://codesandbox.io/s/usecontroller-0o8px)
373
373
  *
374
374
  * @param props - the path name to the form field value, and validation rules.
375
375
  *
@@ -488,7 +488,7 @@ function useController(props) {
488
488
  * Component based on `useController` hook to work with controlled component.
489
489
  *
490
490
  * @remarks
491
- * [API](https://react-hook-form.com/api/usecontroller/controller) • [Demo](https://codesandbox.io/s/react-hook-form-v6-controller-ts-jwyzw) • [Video](https://www.youtube.com/watch?v=N2UNk_UCVyA)
491
+ * [API](https://react-hook-form.com/docs/usecontroller/controller) • [Demo](https://codesandbox.io/s/react-hook-form-v6-controller-ts-jwyzw) • [Video](https://www.youtube.com/watch?v=N2UNk_UCVyA)
492
492
  *
493
493
  * @param props - the path name to the form field value, and validation rules.
494
494
  *
@@ -1040,7 +1040,7 @@ var updateAt = (fieldValues, index, value) => {
1040
1040
  * 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)
1041
1041
  *
1042
1042
  * @remarks
1043
- * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn)
1043
+ * [API](https://react-hook-form.com/docs/usefieldarray) • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn)
1044
1044
  *
1045
1045
  * @param props - useFieldArray props
1046
1046
  *
@@ -2352,7 +2352,7 @@ function createFormControl(props = {}, flushRootRender) {
2352
2352
  * Custom hook to manage the entire form.
2353
2353
  *
2354
2354
  * @remarks
2355
- * [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)
2355
+ * [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)
2356
2356
  *
2357
2357
  * @param props - form configuration and validation parameters.
2358
2358
  *