The MobX architecture introduces an entity known as the Store. A Store is an object that contains some state and provides access to some actions that allow us to mutate its internal state:
The state is observable; this means that when its value changes, an event is emitted and other parts of the application can subscribe to state changes
The actions allow us to mutate the current state
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.