Skip to content
RED SAGSkills
medium10 pts · first answer countsreact-nativememory-leaks

Listener without effect cleanup

What is the problem with this React Native effect?

useEffect(() => {
  const sub = AppState.addEventListener('change', onChange)
}, [])
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions