Issue: Download Component V2 – Avoid Duplicate Component Model Instantiation
Issue: Download Component V2 – Avoid Duplicate Component Model Instantiation: a task in LegoFlow-SWE (Harbor dataset). The current Download component (v1) unnecessarily instantiates a separate Component Sling model in its HTL template via…
The task
The current Download component (v1) unnecessarily instantiates a separate `Component` Sling model in its HTL template via `data-sly-use.component="com.adobe.cq.wcm.core.components.models.Component"`. This happens despite the component already having its own domain model (`Download`). The consequences are:
Part of Lego-X/LegoFlow-SWE.