How to realize full-page jump like href by react-router

how react-router 4 implements full-page jump like href

at present, the page jump I can achieve is like a single-page application, is there any way to click on the link to display a component"s page just like opening a new page?

currently using react-router Jump, the navigation bar will remain unchanged while the content components are changing. I want to implement navigation and remove the content of the display components that are completely a new page, okay?

Mar.14,2021

you mean the relationship between the home page and the details of the article?
if so, of course. Just change your component layout and move your new page component to the same level as the component of the page where the navigation is located. Here is the pseudo code:

                // APP
                <Switch>
                    <Route exact path="/main" component={NavBarPage}/>
                    <Route path="/detail" component={NoNavBarPage}/>
                </Switch>
                // NavBarPage
                <TopBar>
                <Switch>
                    <Route exact path="/main/index" component={IndexPage}/>
                    <Route path="/main/mine" component={MinePage}/>
                </Switch>
                <NavBar>
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-1b319b7-2bdc1.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-1b319b7-2bdc1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?