mobx-formkit-computed
Installation
SKILL.md
Skill: mobx-formkit-computed
Mission
Guide the user through implementing reactive computed values and autorun-derived state in mobx-formkit.
Use this skill when the user needs to:
- Define computed field values (dynamic values from other fields)
- Calculate row totals in array forms (e.g., cart qty × amount)
- Derive grand totals from multiple fields
- Reactively update fields based on other field changes
- Use MobX
autorun()for complex derived state
Two Approaches
| Approach | When to Use |
|---|---|
| Computed Field Props | Simple derived values based on other fields |
| MobX autorun() | Complex multi-field calculations, side effects |