Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant rerendering of scenes in the stack. #2018

Closed
compojoom opened this issue Jul 12, 2017 · 2 comments
Closed

Constant rerendering of scenes in the stack. #2018

compojoom opened this issue Jul 12, 2017 · 2 comments

Comments

@compojoom
Copy link
Contributor

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.

@aksonov
Copy link
Owner

aksonov commented Jul 12, 2017

Could you please check that PR:
#2015 ?

@aksonov aksonov mentioned this issue Jul 12, 2017
@compojoom
Copy link
Contributor Author

wow! my app seems fast again! Thanks, it seems that the re-rendering issue is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants