Using #Immutable.JS at #Redux and #React environment for best optimization is more than difficult.
I want to get immutable data structure what @AnjanaVakil addressed(https://www.youtube.com/watch?v=Wo0qiGPSV-s&feature=share) and also prevent re-rendering as I can.
I think the best option is using the whole Reducer and stores as Immutable object and be flat as much as I can.
And in container component layer, I can prevent re-rendering by using Reselect’s memoization feature.
I think my logic and structure is good but using the whole Reducer and stores as Immutable object is difficult.
Should I set the whold app’s initialState as Immutable Map? or just let be normal object and it’s each child be Immutable.JS?
I’m so confused now.
anyone can help me?