What 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 more

What is inject MobX?

The store injection pattern was popularized by the mobx-react library. It refers to a now obsolete way of accessing the MobX stores across the component tree . It was introduced because the React legacy context was rather awkward to use.

Read more

What are MobX reactions?

The MobX triad is completed when we add Reactions into the mix. Having reactions is what triggers the reactivity in the system. A reaction implicitly tracks all the observables which are being used and then re-executes its logic whenever the depending observables change .

Read more