Back to Challenges
Back
Fix Performance Issue from Creating Functions in Render Loop
Medium
Problem
New function is created on every render, causing unnecessary re-renders of child components.
Code Editor
Solution
Fullscreen
Reset