I have the following structure in my redux case:
initialState: SearchState = fromJS({
isFiltersPanelOpen: false,
sections: {
type: { Course: {
isSelected: false,
filterValues: 42,
},
Path: {
isSelected: false,
filterValues: 12,
},
Resources: {
isSelected: false,
filterValues: 11,
}
}
}
})
I have to delete Resources. I used deleteIn, but I have a problem. When other cases work, they get the initial value, and my deleted Resources come back to life. If I correctly understand, I should use update/updateIn and then delete/deletIn. I need some examples please.