Visuality talks Y18W11 - Nadia Miętkiewicz is talking about Immutability and Javascript. Enjoy and subscribe to our channel - more is coming:)
Video is available here:
https://www.youtube.com/watch?v=sMYFOky8CIA&feature=youtu.be
33. Where to use?
● For the entire Redux state tree
● Your selectors should return Immutable.JS objects
● Never use toJS() in mapStateToProps
● Always in Smart Components (containers)
● Never in Dumb Components
● Wrap Dumb Components in a HOC to convert the props