use form react::high_voltage:React形式的钩子使得燃烧起来既快速又容易 源码
:high_voltage: useForm 成型钩使燃烧起来容易快捷。 最简单的形式挂钩。 安装 npm i --save use-form-react # or yarn add use-form-react 在10秒钟内拥有一个好用的表格 用法 基本用法 检查 import useForm from 'use-form-react' const Form = ( ) => { const { onSubmit , onChange , inputs } = useForm ( 'sampleForm' , { initialValues : { 'name' : '' } , callback : ( inputs ) => console . log ( inputs ) } ) return ( < div> < div> Hello
下载地址
用户评论