A number of stores can be supported through a simple adapter for each
- Redux
- MobX
- Immer
- Unstated
- ...
- Models
- Middleware (optional)
- Transport (optional)
Note: middleware and transport can be configured individually for each model if needed. This means that you can sync models with different backends or APIs, f.ex some using in-memory backing while others connect to a server backend/api etc.
- model (implicit)
- actions
- reducers
- selectors (views)
- middleware
- model
- actions
- views
- middleware
- model (with types and validation)
- actions
- views
- middleware
Note: You can adapt a MobX state tree to Redux as well.
Use jsonschema-to-mobx-state-tree to transform a JSON schema to a MobX State Tree model.
See: