mobx-form-lite
v0.9.64
Published
<h1 align="center"> mobx-form-lite <br><a href="https://badge.fury.io/js/mobx-form-lite"><img src="https://badge.fury.io/js/mobx-form-lite.svg" alt="Npm Version"></a> <a href="https://www.npmjs.com/package/mobx-form-lite"><img src="http://img.shields.io
Downloads
356
Maintainers
Readme
Features:
- ✅ If you know MobX, you already know
mobx-form-lite
. The library is just a set of stores such asTextField
,BooleanField
, and helper functions likeisFormTouched
,isFormValid
that operate on those stores. - 🛠️ Type-safe, including nested forms. No JSON-based configuration.
- 🪶 Lightweight (~1 kb gzipped) since MobX does all the heavy lifting.
- 🚀 Performant. It avoids unnecessary re-renders, thanks to MobX.
- 🔄 Flexible. Supports all the possible ways of defining MobX store, such as
makeAutoObservable
,useLocalObservable
, or decorators.
Installation
npm i mobx-form-lite
Documentation
To check out docs, visit https://kubk.github.io/mobx-form-lite/
State
The package is close to a major release. If the documentation doesn't answer your questions, please check the unit tests or create an issue.