Why does react-navigation jump to other pages (components of other paths) to generate multiple navigation headers?

as mentioned in the title: when react-navigation routes jump, multiple navigation headers are generated when you jump to components of other paths; if you jump to other components of the current page, multiple navigation headers do not appear.

Why is this?

Mar.02,2021

whether a page has a navigation header is determined by whether header is set to null in the navigationOptions of the page. An example is as follows:

{
 Home: {
        screen: Home,
        navigationOptions: {
            header:null   // 
            }
        }    
}

add that what you may need is the following code:

const Tab = TabNavigator({
    Home: {
        screen: Home,
        navigationOptions: {    
    },
    Find: {
        screen: Find,
        navigationOptions: {
 
        }
    },
    User: {
        screen: User,
        navigationOptions: {
            //  , 
            header:null,
        }
    }
});

// TabscreenTab
export default Navi = StackNavigator({
    Tab: {
        screen: Tab
    },
    Detail: {
        screen: Detail
    }
}, {navigationOptions: {
        //  header:null
    }
  });
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf6f3a-4707d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf6f3a-4707d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?