динамический импорт в ReactJs
const OtherComponent = React.lazy(() => import('./OtherComponent'));
Blushing Bee
const OtherComponent = React.lazy(() => import('./OtherComponent'));