'Drawer header is rendering after components below it
I have a bottom tab inside drawer navigation. When I switch the tab,lets say from "Home" tab screen to "Profile" tab screen, I want to hide the drawer header, it is hiding via navigtion.setOptions inside componentDidMount but it is hiding after the components inside "Profile" screen are rendered. How can I make sure the drawer header will hide before rendering of components inside "Profile" tab screen?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
