Skip to content

Hot Reloading not working with React-navigation (refreshes entire route stack to initialRoute instead of just the component) #13240

Closed
@claykohut

Description

@claykohut

Description

I'm having trouble getting hot reloading to work on our app. Changes seem to be submitting / the app shows a banner showing that changes are applied but nothing happens / updates.

If I change the entry point index component to be a stateful component which returns the App component, then changes seem to update but the react-navigator stack resets to the initial route.

Can anyone please help!? I previously was having this error with Navigator, but was told to try updating to react-navigation (which I have) and am still facing the error.

In the state that causes an entire app refresh, the App file is structured like:

render(){
      <Provider store={store}>
            <HomeStack />
      </Provider>
}

Additional Information

React Native version: 0.39.2
Platform: iOS
Development Operating System: MacOS
Dev tools: Xcode

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions