Getting nested values in Immutable.js
A map is simply a collection of keys with values. What you have is a map with the key categories, and the value {1: ‘a’, 2: ‘b’}. The value does not automatically become an Immutable map just because you place it inside another map. Now, the getIn() function will only “see” other Immutable.js maps. What … Read more