1 min readApr 19, 2019
Exactly!
The thing is that PureComponent
essentially implements the shouldComponentUpdate
lifecycle, so that’s why I mention the latter sometimes.
Essentially, I want to make sure that people understand that the shouldComponentUpdate
is the thing that does the trick, while PureComponent
is simply an re-usable/common implementation of it :)