DEV Community

Discussion on: Integrating a modern frontend in a multi tenant AEM project (part 4)

Collapse
 
brunob15 profile image
Bruno Bradach

Hi Natalia! Thanks for the 4th part.

I wonder how do you handle lazy loading with clientlibs. I've been struggling with that.

Despite you can import the clientlib from the component's htl, that leads to duplicate imports.

Is this the goal of the complex Sling Model that you mention? I mean import only the clientlibs needed by the components in the page.

Collapse
 
anfibiacreativa profile image
Natalia Venditto

Super good question! Next post on that!