Is this actually causing memory leaks on the react-native App?
I found a way to prevent the state update on API response. By using useRef like below
co