Immutable, update inside map not returning correct object
问题 I am trying to write a function to update an immutable object I have. I am using return myitem.updateIn so i can chain another update ontop of this one that is already working. So far, I have this : memo.updateIn(['Topics', 'filters'], function(topic) { topic.map(function(singleTopic) { singleTopic.update('filters', function(subTopicFilters) { subTopicFilters.map(function(singleSubTopic) { if(singleSubTopic.get('checked')){ console.log("check", singleTopic.toJS()); return singleTopic.set(