Is there a way to disable a lazy loading in Angular v19 standalone components?
In older versions of Angular, where we used to have module-based applications, it would load a module once and even if you close components that are exported by that module – it wouldn’t load that module again, even if you opened the component once again. But now that we’re slowly migrating to standalone components – I’m facing an interesting behavior regarding the lazy loading “feature”. In the GIF below, by clicking a dropdown arrow – I’m rendering three instances of the same component, that has its’ images and styles. As you can see, for a microsecond there, the layout is not styled initially and a scrollbar appears and disappears after the component’s styles are fully loaded.