DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Frontend Performance Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Frontend Performance
In the Try It scenario, why does ExpensiveChild still re-render despite being wrapped in React.memo?
A
React.memo doesn't actually work at all
B
handleClick is a freshly-created function on every Parent render — React.memo's shallow comparison sees a genuinely different reference each time and correctly concludes the props changed
C
The button's onClick prop is ignored by React.memo
D
React.memo only works with primitive props, never functions
Check Answer