What's the best way to hide a tab in a TabNavigator?
I'd like to conditionally hide a tab in a TabNavigator.  It seems that setting visible doesn't work properly (presumably because this is how the TabNavigator hides the tabs that aren't currently selected).

What's the right way to do this?
What's the best way to hide a tab in a TabNavigator?
===

I'd like to conditionally hide a tab in a TabNavigator.  It seems that setting visible doesn't work properly (presumably because this is how the TabNavigator hides the tabs that aren't currently selected).

What's the right way to do this?