React Lazy Import Non Domyślne
const OtherComponent = React.lazy(
() => import('./OtherComponent').then(module => ({ default: module.OtherComponent }))
);
Cyrus Gracias
const OtherComponent = React.lazy(
() => import('./OtherComponent').then(module => ({ default: module.OtherComponent }))
);