disposers property

List<ReactionDisposer> disposers
getter/setter pair

Mobx reactions return a ReactionDisposer so that they can be disposed of when they are no longer needed

ViewModels adding ReactionDisposers to the disposers list allows them to be disposed at the correct time

Implementation

List<ReactionDisposer> disposers = [];