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.