npm install react-hook-form ... watch, formState: { errors } } = useForm(); const onSubmit = data => console.log(data); console.log(watch("example")); ...
確定! 回上一頁