gb-native-router
gb-native-router copied to clipboard
Can't navigate to a route already in the route stack
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.
I don't have this issue, I would like to see an example of the code.
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
});
I'm having the same issue, bump
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 .