What is a potential drawback of not using lazy loading in larger applications?
- Increased memory usage
- Larger initial bundle size
- Reduced component reusability
- Slower application startup
Not using lazy loading in larger applications can result in a larger initial bundle size. This means that users need to download a bigger JavaScript file when they first access the application, which can lead to slower loading times, especially on slower network connections.
Loading...
Related Quiz
- A client wants certain fields in a form to be auto-populated based on the value of another field. How would you achieve this in Angular?
- Which tag is used for multi-slot content projection in Angular?
- In Angular, to make a service available to the entire application, you should set its providedIn property to ________.
- What is the primary role of Effects in NgRx?
- Imagine you're building a custom tooltip directive in Angular. To ensure that the tooltip is positioned relative to the element it's attached to, you need to gain access to the host element. How would you achieve this?