Reputation: 737
We're building a production react native application but listview memory issues are preventing us from releasing it. Is there a way to force reload the whole app using TimerMixin or onPushReceived? We're using TabbarIOS and Navigator, if those can be taken advantage of to release all views from listview by reloading the whole app. Thank you.
Upvotes: 0
Views: 2409
Reputation: 737
Temporarily solution for us: Set listview to empty array then re-fetch data upon 1. AppState change to 'background' with timer for 10 minutes 2. Receiving push while AppState is 'background'
Upvotes: 0