Skip to content

Façade pattern for loading DCE via defer #78

@sashafirsov

Description

@sashafirsov

Implement the DCE load on demand.

<custom-element defer tag="my-component" src="library/templates.html#my-component"></custom-element>

would not load the code till the tag appear in DOM.

Related:
WICG/webcomponents#754

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions