Course contentsShow
React
Lesson 2244 of 2,39649. Performance: Identifying ProblemsPro lesson

Callback Props with Inline Arrow Functions

Why `onClick={() => handler(id)}` creates new functions and breaks memo, plus when it's acceptable.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.