dynamiczny import w ReactJS
const OtherComponent = React.lazy(() => import('./OtherComponent'));
Blushing Bee
const OtherComponent = React.lazy(() => import('./OtherComponent'));