This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Why `onClick={() => handler(id)}` creates new functions and breaks memo, plus when it's acceptable.
You've completed the free preview. Subscribe to unlock every lesson in every course.