React card reviewhard

What is React.lazy and Suspense?

React.lazy allows components to be loaded dynamically only when they are needed instead of including them in the initial bundle. Suspense provides a fallback UI, such as a loading spinner, while the component is being loaded. Together, they enable code splitting, which reduces initial bundle size and improves application performance.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.