How to Benchmark React Components: The Quick and Dirty Guide
Scott Domes
8068

In this particular case, where you are only comparing props in shouldComponentUpdate, you can also use PureComponent instead of Component in ListItem. This way you won’t need to write shouldComponentUpdate as PureComponent will do shallow compare of nextProps with this.props.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.