In previous versions, it was possible to hide drawer item from the drawer by setting its label to null:
drawerLabel: () => null
With v5 it is no possible anymore. Declaring screen like this:
<Drawer.Screen
name="Hidden route"
component={HiddenScreen}
options={() => ({
drawerLabel: () => null,
title: undefined,
drawerIcon: () => null,
})}
/>
still renders the item in the drawer. It has no title, but the container is there and is touchable.
It would be great to have an option to hide the drawer item from the drawer.