It seems Mobx 4 broke ObservableMap#values() and now it returns something that is no longer iterable. Is this an intented breakage?
Mobx 4: https://codesandbox.io/s/lx99xmm889
Mobx 3: https://codesandbox.io/s/nrmnqrjkq4
Definitely it is a intented breakage:
Iterating maps now follows the spec, that is, map.values(), map.entries(), map.keys(), map@@iterator and array@@iterator no longer return an array, but an iterator. Use mobx.values(map) or Array.from(map) to convert the iterators to arrays.
Most helpful comment
Definitely it is a intented breakage: