useDeepEquality property
By default, MobX uses the ==
to compare the previous value. This is fine for
primitives, but for Iterable and Map, you may want to use a deep equality on collections. When
using deep equal, no reaction will occur if all elements are equal.
Implementation
final bool useDeepEquality;