React Native pseudo leaking memory after remove elements from screen (ios)

Perhaps your onPress props are implicitly returning data unnecessarily. What happens if you put {} after the arrow to prevent a return. Does it make any difference?

You may be able to do something for your setState as well. Consider trying: setState(() => {…code})

This might also be helpful:
When to use React setState callback

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)