Does the Outlet rerender with the parent component in React JS?

I have useWindowSize hook that triggers each time when the window is resized so the MainWrapper component rerenders many times. But the Outlet element is not rerendered. Is that allright?
Are there any documentation links to that?

const MainWrapper = () => {
  useWindowSize();

  return (
    <Layout className={styles.layout} hasSider>
      <Sider />
      <Layout className={styles.container}>
        <Layout.Content id="layoutContentRoot">
          <Suspense fallback={<Loading />}>
            <Outlet />
          </Suspense>
        </Layout.Content>
      </Layout>
    </Layout>
  );
};
export default MainWrapper;