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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -