How does lazy loading relate to the concept of 'Time to Interactive' in web performance?
Lazy loading generally improves Time to Interactive (TTI) by reducing the amount of JavaScript that needs to be loaded, parsed, and executed before the application becomes interactive. By deferring non-critical components until they're needed, the browser can process less code initially, allowing the main functionality to become interactive faster. This is particularly important for mobile devices or slower connections where processing large JavaScript bundles can significantly delay interactivity. However, the specific impact depends on implementation details and should be measured for your particular application.