react-component / form

React High Order Form Component(web & react-native)
http://react-component.github.io/form/
MIT License
1.81k stars 296 forks source link

Customized Form Controls cannot be Function Component with Hooks #311

Open Terryand opened 5 years ago

Terryand commented 5 years ago

image

I just created a customized form control by function component with hooks. But find it will be not work. Maybe using Context API ranther than Ref API will be better in future.

TonyLiuYan commented 5 years ago

me too

Glinduff commented 5 years ago

same

ssehacker commented 5 years ago

+1

lgy1159 commented 4 years ago

+1 but you can use useRef instead it

WechatIMG210