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...
JavaScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
JavaScript
What's the most common cause of a React component leaking memory after unmount?
A
Using too many useState calls
B
A useEffect that subscribes to something (timer, listener, socket) without returning a cleanup function to unsubscribe
C
Passing too many props to a child component
D
Using CSS-in-JS instead of plain CSS
Check Answer