Interview question
What is React.lazy and why use it? React.lazy क्या है और क्यों use करें?
Answer
const Component = React.lazy(() => import('./Component'));
// Benefit: Automatic code splitting and lazy loadingReact.lazy() से automatic code splitting होता है।Was this answer clear?