I need to skip something because Docs does it as if the code below worked fine, but I got an invalid keypath error ... Check this code .
var map1 = Immutable.Map({ 'selector': { 'type': 'bar' }}); var map2 = map1.setIn(['selector', 'type'], 'foo'); console.log(map2.toJS());
hally9k
source share