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

Load custom elements lazily #193

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Load custom elements lazily #193

merged 3 commits into from
Oct 24, 2023

Conversation

marein
Copy link
Owner

@marein marein commented Oct 22, 2023

Custom elements must be registered in the import map with their tag name. On page load, all undefined elements are loaded lazily. Since they can appear out of order, a custom app:load event is dispatched so that components know when everything is loaded.

Custom elements must be registered in the import map with
their tag name. On page load, all undefined elements are
loaded lazily. Since they can appear out of order, a custom
app:load event is dispatched so that components know when
everything is loaded.
@marein marein self-assigned this Oct 22, 2023
@marein marein mentioned this pull request Oct 22, 2023
10 tasks
@marein marein merged commit c868057 into master Oct 24, 2023
1 check passed
@marein marein deleted the 190-load-custom-elements-lazily branch October 24, 2023 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant