@mobx-sentinel/form
v0.5.0
Published
MobX library for non-intrusive class-based model enhancement. Acting as a sentinel, it provides change detection, reactive validation, and form integration capabilities without contamination.
Maintainers
Readme
mobx-sentinel/form
Form and bindings for MobX-based form management with validation and submission handling.
Documentation: guide · API reference
- Asynchronous submission
- Composable from multiple sources.
- Cancellable with AbortSignal.
- Nested and dynamic (array) forms
- Works by mutating models directly.
- Forms are created independently; they don't need to be aware of each other.
- Custom bindings
- Flexible and easy-to-create.
- Most cases can be implemented in less than 50 lines.
- Smart error reporting (read more)
- Validation is always up to date; reporting decides when users see the errors.
- Errors wait until the user leaves a field or pauses typing, then follow every fix.
- Fields and sub-forms that appear later start clean, even after the whole form has been reported.
