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

There is no route defined for key when using Actions.reset(); #3234

Closed
mn7676 opened this issue Sep 1, 2018 · 1 comment
Closed

There is no route defined for key when using Actions.reset(); #3234

mn7676 opened this issue Sep 1, 2018 · 1 comment

Comments

@mn7676
Copy link

mn7676 commented Sep 1, 2018

Version

Tell us which versions you are using:

  • react-native-router-flux "^4.0.1"
  • react-native 0.56.0

My code


<Router>

   <Lightbox>
        <Scene key='root' headerMode='none'>
            <Scene key='login' component={Login} initial/>
            <Scene key='main' component={Main} />
            <Scene key='page' component={Page} />


        </Scene>


    </Lightbox>

</Router>


in page 'main' or 'page' when using Actions.reset("login") get error : There is no route defined for key login Must be one of :'root' but Actions.push("login") or Actions.replace("login") is ok!!

@daviscabral
Copy link
Collaborator

Thank you for reporting the issue - this one is a duplicated and was already reported on #3194.

Closing in favour to keep all information to this bug there.

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

No branches or pull requests

2 participants