Why Arrow Functions and bind in React’s Render are Problematic
Cory House
2.9K28

This is right solution in case if we want to prevent Component rerender, but there is another problem, child component is responsible to invoke onClick handler with right parameters (userId), in case if we will change deleteUser method to get as parameter the whole user object, we need to change children implementation and invoke onClick with the right parameter.

One clap, two clap, three clap, forty?

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