What is disposeOnUnmount?

disposeOnUnmount(componentInstance, propertyKey | function | function[]) Function (and decorator) that makes sure a function (usually a disposer such as the ones returned by reaction , autorun , etc.) is automatically executed as part of the componentWillUnmount lifecycle event.

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