0.9.7 • Published 4 months ago
mobx-form-lite v0.9.7
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.