You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In docs/architecture/react.md we say we derive all our class
components from React.PureComponent, with one exception, namely
MessageList.
From a grep, there are a handful of other components where we use
simply React.Component instead. I'm not sure the difference has
much practical effect on those components, but adjust them to follow
our pattern for consistency.
None of these components need special behavior in this respect:
they don't implement shouldComponentUpdate, and just like for other
components in our app the values we pass for their props are never
mutated, only replaced with new values.
0 commit comments