Components in React that are wrapped by Router components (introduced by non-Route components) call the component's render? every time the address changes

related codes

<BrowserRouter>
    <div className="App">

      <Link to="/"></Link>
      <Link to="/news"></Link>
 
      <Route exact path="/" component={Home} />
      <Route path="/news" component={News} />
      
      <SiderBar></SiderBar>
      
    </div>
</BrowserRouter>

when I click "go to the home page" and "go to the news" to switch back and forth, the render function of the SiderBar component will be called. Why? And the render function that returns the BrowserRouter component is not called repeatedly.

Mar.28,2021

Yes. render will definitely trigger.
triggers and means that the page dom is re-rendered.
so it doesn't matter. render just render .

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-1ea72b1-47c17.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-1ea72b1-47c17.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?