react-navigation/rfcs

Navigation prop consistency in tabBarComponent, drawerComponent, and header

brentvatne opened this issue · 4 comments

  • In header, it has the child navigation prop so that push works as expected
  • Bare (only dispatch) in tabBarComponent and drawerComponent

some confusion from this here: react-navigation/react-navigation#4440

here's a good one: https://snack.expo.io/Hk1FRPuxQ

stack -> drawer

drawer has navigationOptions to render button in header, wants to call drawer helpers (naturally), but they aren't available