react-fast-form
React form validation,simple and free!
目前为不稳定版本,非 fast-flow 维护者请勿在公司项目中使用。
📦 Install
npm i react-fast-form --save
📄 Usage
基础
var Form = var React = var ReactDOM = var App = React ReactDOM
triggerCheck(ref, actionName) 手动触发校验
🔨 development
npm i -g fis3 --registry=https://registry.npm.taobao.org# Install dependencies | 安装依赖 npm run dep # > Suggested Use `yarn` replace `npm run dep` | 建议使用 `yarn` 替代 `npm run dep` # npm i -g yarn # npm run yi # Server npm run s # Build npm run dev # build document ./output | 构建 gh-pages 版本 到 output/ npm run gh# git push ./output branch:gh-pages | 将 output/** 发布到 gh-pages 分支 npm run gh-push# build commonjs code ./output | 构建 npm 要发布的代码到 output/ npm run npmcd ./outputnpm publish
Build based on fast-boot
For npm owner: npm publish Need to be in ./output