gb-native-router icon indicating copy to clipboard operation
gb-native-router copied to clipboard

Can't navigate to a route already in the route stack

Open jamesfzhang opened this issue 9 years ago • 4 comments

I'm seeing a weird problem where if you try to toRoute to route that already exists in the route stack, route.component is just an empty object in the renderScene function, and the app crashes. Let me know if you want to see code example. Thanks.

jamesfzhang avatar Dec 18 '15 18:12 jamesfzhang

I don't have this issue, I would like to see an example of the code.

charpeni avatar Dec 18 '15 22:12 charpeni

Also running into this issue.

This will crash as Login is somewhere early in the stack.

    this.props.resetToRoute({
        name: 'Login',
        component: Login,
        trans: true,
        hideNavigationBar: true
    });

This won't, despite being in the same code.

    this.props.resetToRoute({
        name: 'DifferentPage',
        component: DifferentPage,
        trans: true,
        hideNavigationBar: true
    });

bradhanebury avatar Dec 21 '15 15:12 bradhanebury

I'm having the same issue, bump

rfdong83 avatar Jan 07 '16 19:01 rfdong83

Please provide a minimal working example to reproduce this issue. Thanks

On Thu, Jan 7, 2016 at 8:25 PM Ryan [email protected] wrote:

I'm having the same issue, bump

— Reply to this email directly or view it on GitHub https://github.com/MikaelCarpenter/gb-native-router/issues/53#issuecomment-169781082 .

davidLeonardi avatar Jan 12 '16 10:01 davidLeonardi