All store's properties should be read-only. Altering backend's state should be done by "actions" which are exposed from a store as methods. In particular, stores should not be a place to hold UI state.
Maintaining that state is not responsibility of store and should be externalized.
Description
All store's properties should be read-only. Altering backend's state should be done by "actions" which are exposed from a store as methods. In particular, stores should not be a place to hold UI state.
Maintaining that state is not responsibility of store and should be externalized.