Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sync-state

nimojs20.1.0

快速实现 defaultValue 的语法糖 <input {...sync('name')} />

readme

sync-state

sync-state

快速实现 defaultValue 的语法糖
<input {...sync('name')} />


无副作用
通过{...props}实现同步数据

快速上手
接口简单,一看就懂

场景明确
defaultValue的替代品
Creator