mobile-state-management-patterns
Installation
SKILL.md
Mobile State Management Patterns
Instructions
State management in mobile is the discipline of turning user and system events into UI, predictably. The right pattern depends on state complexity, team size, and framework idioms. This skill names the patterns and shows how they map across stacks.
1. Pattern Families
| Family | Shape | Good fit |
|---|---|---|
| MVVM | ViewModel exposes observable state | Most teams, all stacks |
| MVI / Unidirectional | State = reduce(state, intent) | Complex flows, testability |
| TEA (Elm-like) | Model, Msg, update, view | Compose MP, Bloc, Redux Toolkit |
| Redux / Flux | Single store, actions, reducers | Cross-platform with many contributors |
| Observable / Reactive | Streams of state | RN with RxJS/MobX, Combine, Flow |
| Local / ambient | Setters in the view | Very small features only |