React Native - How can React Navigation Drawer be re-rendered when opened? -
i using react-navigation , drawernavigator main navigator.
i need re-render drawer if drawer opened. none of lifecycle methods called when drawer opened drawer rendered once when app loads.
i have tried passing params trigger componentwillupdate()
method. params sent on initial load - calling this.props.navigation.navigate('draweropen', {name: 'alex'})
nothing params never arrive (they undefined).
why can't pass params other navigate() actions?
it seems should possible? otherwise drawers static content never updates?
thanks help.
Comments
Post a Comment