I have a file called index.js where I export my components , How can I integrate this structur into lazy load?
the following usage ,causing code confusion.do you have any idea ?
const AComponent = React.lazy(() => import("components").then((module) => ({ default: module.AComponent })));