Cache your React event listeners to improve performance.
Charles Stover

Nice article, but I feel like it’s just covers a bad practice (which is being unknow by many for sure). One addition to the dynamic functions in loops. Rather than implementing such workaround, just use data attributes with the index of the item or something, so in the callback you refer to and get your needed data from props using that identifier.

Like what you read? Give Victor Vincent a round of applause.

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