React Pattern: Extract Child Components to Avoid Binding
Cory House

In example 2 (with closures) deleteUser returns a new function on each render, which is essentially the same as passing in an arrow function.

Also child components will render every time parent renders unless you make them into PureComponents or implement shouldComponentUpdate.

Like what you read? Give Dmitry a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.