smashing form:React中由MobX驱动的表单 源码
粉碎形式 :high_voltage: 快速输入重新呈现-不重新呈现整个表单 :bacon: 煮熟的api :OK_hand: 基于表单验证 :balance_scale: 例子 安装 npm install --save @smashing/form mobx mobx-react-lite 用法 import * as React from 'react' import { useForm } from '@smashing/form' const CustomTextInput = props => < input type = "text" { ... props } / > export const MyForm = ( ) => { // Use `useForm` hook. `initialValues` is the only required value. const { Form , Field , form } = useForm
文件列表
smashing-form-master.zip
(预估有个17文件)
smashing-form-master
yarn.lock
399KB
src
index.tsx
12KB
.vscode
extensions.json
138B
settings.json
267B
example
index.html
301B
index.tsx
6KB
暂无评论