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

Router showing old mounted views with old props when being re-launched in android #2936

Closed
RajeshBatth opened this issue Mar 13, 2018 · 3 comments

Comments

@RajeshBatth
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.28
  • react-native v0.52.0

Expected behaviour

Router should update the props of children when launched after closing and opening again with updated props from native app

Actual behaviour

Reopen the page(Page B) with new props after closing the old page (Page A), old page (Page A) is being showed and props of pages are also not updated

Steps to reproduce

  1. Clone the demo app: https://github.com/RajeshBatth/rn-router-flux-load-issue
  2. Run the app react-native run-android
  3. Click on 'OPEN PAGE ONE' button you'll see a Red page with text SCREEN ONE
  4. Now Press back and click on 'OPEN PAGE TWO' button you still see a Red page with text SCREEN ONE, instead of a green page with text SCREEN TWO

to check the props connect to debugger and check the logged values with text "AppRouter.props"

@ANKITGUPTAMMT
Copy link

Happening for me too. Pls help

@ranjanrukhaya-gommt
Copy link

Please help..happening for me as well. Need it urgently.

@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

4 participants