📅  最后修改于: 2022-03-11 15:03:09.207000             🧑  作者: Mango
react-hook-form updated to 7.0.0 from 6.X.X and has breaking changes:
You have to replace all ref={register} with {...register('value_name')}
Version 6.X.X:
Version 7.0.X: