einfach-form
v0.0.1-beta-03
Published
本项目不提供任何ui,旨在提供form的核心逻辑,然后根据公司的需求开发</br> ### 为啥有这个项目 有大量项目采用antd的form,antd form性能太差,急需替换
Downloads
11
Maintainers
Readme
项目说明
本项目不提供任何ui,旨在提供form的核心逻辑,然后根据公司的需求开发
为啥有这个项目
有大量项目采用antd的form,antd form性能太差,急需替换
优点
no css!!! no css!!! no css!!! no html!!! no html!!! no html!!! only hooks
useFrom 创建一个表单 createFromInstance
useField 获取表单字段的值+设置方法
useFieldValue 获取表单字段的值
useSetField 获取设置字段的值函数
useGetFormInstance 获取表单实例
remark
FromItem 这些需要自行开发,仅作为样板。