Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Façade pattern for loading DCE via defer #78

Open
sashafirsov opened this issue Dec 16, 2024 · 0 comments
Open

Façade pattern for loading DCE via defer #78

sashafirsov opened this issue Dec 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sashafirsov
Copy link
Member

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

@sashafirsov sashafirsov changed the title Façadepattern for loading DCE via defer Façade pattern for loading DCE via defer Dec 16, 2024
@sashafirsov sashafirsov added the enhancement New feature or request label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant