react-hook-form (as of v7.53) may behave incorrectly when user code is compiled with react-compiler.
This babel plugin can be applied before the compiler to opt-out all functions which reference useForm
by inserting the "use no memo"
directive.
Only supports using the named export:
// worky
import { useForm } from 'react-hook-form
const Component = () => {