You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that if you a transitioning to a new scene the re-render method of your component will be called for each component in the navigation stack.
This can easily be reproduced. Just add
console.log('rerender: launch');
to the launch.js file in the example and
console.log('rerender: login');
to the login.js
then navigate around. You'll notice that with each navigation the rererender: login will be output to the console.
If you move to the login screen and then navigate further to login2, 3 etc you'll always see both launch and login re-rendering. This seems to make the navigation to the different scenes pretty slow.
The text was updated successfully, but these errors were encountered:
I just noticed that if you a transitioning to a new scene the re-render method of your component will be called for each component in the navigation stack.
This can easily be reproduced. Just add
console.log('rerender: launch');
to the launch.js file in the example and
console.log('rerender: login');
to the login.js
then navigate around. You'll notice that with each navigation the rererender: login will be output to the console.
If you move to the login screen and then navigate further to login2, 3 etc you'll always see both launch and login re-rendering. This seems to make the navigation to the different scenes pretty slow.
The text was updated successfully, but these errors were encountered: