React Developer — Medium
Key points
- PureComponent uses shallow comparison for shouldComponentUpdate
- Component re-renders on every setState call
- PureComponent prevents unnecessary re-renders for performance optimization
Ready to go further?
Related questions
