Problem Statement
What is a common cause of memory leaks in React Native?
Explanation
Forgetting to clear intervals, event listeners, or subscriptions in useEffect cleanup functions can lead to memory leaks.
These leaks cause the app to retain unnecessary memory, affecting performance over time.
Practice Sets
This question appears in the following practice sets: