Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MainScreenWithTabs: Use
router
static, pass navigation
prop.
This is the recommended thing to do when it's necessary to defy react-navigation's warnings [1] against "explicitly rendering more than one navigator". In the upcoming react-navigation v2 -> v3 upgrade, this would otherwise produce a crashing error; see discussion [2]. [1] https://reactnavigation.org/docs/2.x/common-mistakes/#explicitly-rendering-more-than-one-navigator [2] https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/Dynamic.20routes.20in.20react-navigation/near/1008268
- Loading branch information