- How using immutable objects as props can make
shouldComponentUpdatesuper fast for pure components, even when you need complicated hierarchical objects - That
renderfunction is called beforecomponentDidMount - You don’t need to have any data-flow package (flux, redux, mobx, etc) unless your components need to share state
- Your UI is a function of your state
- That when two components need to share state I need to lift it up instead of trying to keep their states in sync
- Components don’t necessarily have to correspond to DOM nodes
If you liked this article and think others should read it, please share it on Twitter!