Slide 7
Slide 7 text
shouldComponentUpdate()
React.PureComponent
The default implementation of this function returns true, leaving
React to perform the update
React.PureComponent. shallow comparison of current and previous
props and state.
simple props and state, or use forceUpdate() when you know deep
data structures have changed.
Or, consider using immutable objects to facilitate fast
comparisons of nested data.
@bitreverie