=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()})),t.default.useEffect((()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})}),[e.shouldUnregister,i]),r.current.formState=D(a,i),r.current},exports.useFormContext=w,exports.useFormState=U,exports.useWatch=N;
//# sourceMappingURL=index.cjs.js.map
