mobx-form-lite
TypeScript icon, indicating that this package has built-in type declarations

0.9.62 • Public • Published

mobx-form-lite
Npm Version NPM downloads Tests

Lightweight form management for MobX

Features:

  • ✅ If you know MobX, you already know mobx-form-lite. The library is just a set of stores such as TextField, BooleanField, and helper functions like isFormTouched, isFormValid that operate on those stores.
  • 🛠️ Type-safe, including nested forms. No JSON-based configuration.
  • 🔄 Flexibility. No need to extend your stores from the library's classes.
  • 🪶 Lightweight (~1 kb gzipped) since MobX does all the heavy lifting.
  • 🚀 Performant. It avoids unnecessary re-renders, thanks to MobX.

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.

Package Sidebar

Install

npm i mobx-form-lite

Weekly Downloads

152

Version

0.9.62

License

MIT

Unpacked Size

104 kB

Total Files

37

Last publish

Collaborators

  • kubk