Question 5 of 10Pro Only
Explain code splitting and lazy loading in React. How do you implement them, and what are the benefits for application performance?
Sample answer preview
## What Is Code Splitting? Code splitting is a technique that breaks your application into smaller chunks (bundles) that are loaded on demand rather than all at once. This reduces the initial bundle size and improves load times.
code splittinglazy loadingReact.lazySuspensedynamic importbundle size