当我使用react-hook-form时,我无法从react-hook-form解构错误对象。
const { register, handleSubmit, reset, setValue, getValues, errors, formState } = useForm({
resolver: yupResolver(validationSchema)
});
Run Code Online (Sandbox Code Playgroud) 在 React 应用程序中集成 Sentry.io 后的行为。