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

HotReload not working as expected #2224

Closed
danielbenedykt opened this issue Aug 12, 2017 · 1 comment
Closed

HotReload not working as expected #2224

danielbenedykt opened this issue Aug 12, 2017 · 1 comment

Comments

@danielbenedykt
Copy link

Version

  • react-native-router-flux v4.0.0-beta.16
  • react-native 0.46.1

Expected behaviour

Using hot reload, every time some code changes, the router should re-render but stay at the current selected scene.

Actual behaviour

When the router gets re-rendered it doesn't honours the current rendered scene and/or route in the store. It dispatches a focus action for the the initial Scene.

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.

  1. Create at least 2 scenes
  2. Navigate to a non initial screen
  3. Make any change to that screen or related component
  4. It will hot reload, but it will go back to the initial screen
@danielbenedykt danielbenedykt changed the title HotReload not working HotReload not working as expected Aug 12, 2017
@aksonov
Copy link
Owner

aksonov commented Aug 14, 2017

Duplicate of facebook/react-native#13240
I will convert Example project screens to classes.

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