MobX Schema Form is a React component library (v1.14.2) that bridges MobX FormStore with React-Schema-Form and React-Toolbox for declarative form rendering, validation, and Material Design widgets. It provides reactive, conditionally-rendered fields, real-time validation, and support for custom validators. Compared to alternatives like react-jsonschema-form, it offers lighter weight (CSS Modules over inline styles) and tighter MobX integration, including computed properties and conditional required/read-only fields. Maintenance pace is low; last release was in 2019. Requires React 15/16, MobX 2.2–5, and React-Toolbox 1–3.
npm install mobx-schema-formNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates minimal form rendering using MobxSchemaForm with a MobX FormStore model and a simple schema.
Consider migrating to React JSON Schema Form or react-jsonschema-form with MobX adapter.
Pin React to 15 or 16 and React-Toolbox to matching version. Use 1.9.x for older React.
Install and import babel-polyfill at app entry point.
Test with specific MobX version; prefer MobX 4 for stability.
Install lodash.template as dependency.
npm install babel-polyfill
npm install lodash.template
Install correct react-toolbox version (e.g., 1.3.x) and import react-toolbox/lib/commons.css.
Ensure model prop is an instance of MobX FormStore or matches modelShape.