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

[Question] Why are invisible scenes back in the stack still rendered in iOS? #2788

Closed
jan-happy opened this issue Jan 11, 2018 · 1 comment
Closed

Comments

@jan-happy
Copy link

Version

  • react-native-router-flux 4.0.0-beta.27
  • react-native 0.51.0

Expected behaviour

I have a stack of scenes in iOS, scene 3 is on top:
scene 1 - scene 2 - scene 3

Scene 1 & scene 2 don't need re-rendering since they are not visible

Actual behaviour

Scene 1 & scene 2 are being rendered

Is this a limitation of UINavigationController? When I have a performance hogging module like a MapView in scene 1 this slows down the app even if only scene 3 is visible.
Thanks for clarifications.

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists

@aksonov aksonov closed this as completed Aug 8, 2018
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