← React Intermediate Questions - Set 11 Q103

How can you dynamically import a component in React?

React Intermediate Questions - Set 11

Example

const Widget = lazy(() => import('./Widget'));

What to notice

← Back to the question list