jlyman / jlyman/RN-NavigationExperimental-Redux-Example
RenderScene called twice
- Dominant language
- JavaScript
- Stars
- 341
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
I placed a console.log in renderScene method in AppContainer.js (and did not modify any of the other code). For every page that is added to the navigation, the method is called twice. Is it a bug? How do I avoid renderScene method to be called second time?
```
_renderScene({scene}) {
// Here renderscene is printed twice for every route
console.log('renderscene');
const { route } = scene
switch(route.key) {
case 'First':
return
case 'Second':
return
case 'Third':
return
case 'Modal':
return
}
}
```
I'm facing similar issue with pure RN NavigationExperimental implementation in my own project.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.