mainContext top-level property

ReactiveContext mainContext
final

The main context of MobX. All reactive operations and observations are happening inside this context.

At the moment it is a singleton, but in the future it might be replaced with a Zone specific value.

Implementation

final ReactiveContext mainContext = createContext(config: ReactiveConfig.main);