-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
first time a route is render navigator is ProxyComponent object
when a route is reloaded the navigator prop is null
//my code
<Router
onDidFocus={(route, router) => {
if (route.title === 'ViewAll'){
route.loaded = true;
router.reload();
}
}}
routes={routes}
/>
I've been debugging, so I'm not sure what and where the problem is
but I noticed on renderScene this.navigator is null after a reload
//Router.mobile.js
renderScene(route: $route) {
console.log('router.mobile', this.navigator)
return (
<route.scene
navigator={this.navigator}
routes={this.props.routes}
route={route}
router={this}
showIndicator={this.showIndicator}
/>
);
Metadata
Metadata
Assignees
Labels
No labels