React Hooks are most likely the easiest way to consume MobX store. They give you a freedom in how to do things instead of heavily opinionated inject .
Read moreWhat is observer in MobX?
The observer HoC automatically subscribes React components to any observables that are used during rendering . As a result, components will automatically re-render when relevant observables change. It also makes sure that components don’t re-render when there are no relevant changes.
Read moreWhat is a provider in React?
Provider is the container for all React Spectrum applications . It defines the theme, locale, and other application level settings, and can also be used to provide common properties to a group of components.
Read more