react-native-router
react-native-router copied to clipboard
Reuse routes wherever it's possible (push/pop issues)
Considering my findings and the issue opened here https://github.com/facebook/react-native/issues/1731, please, make sure you're reusing routes with jump* methods instead of pushing/popping them.
https://twitter.com/pukhalski/status/648107213253398528
Can you please provide more information?
All the rendered elements stay in the memory even after removing the route using pop/push methods. As a result your memory heap grows instantly while navigating through views. If you want to see it on your own just run app profiling in XCode.