Closed
Description
Hi guys,
How could I import named imports using lazy syntax?
Before we could use
import { MainComponent, Component1, Component2 } from './components';
How to achieve something like this (although this does not work)?:
const { MainComponent, Component1, Component2 } = React.lazy(() => import('./components'));
Thank you and have a good day :-)
Metadata
Metadata
Assignees
Labels
No labels