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

Custom elements-based approach? #8

Open
shumstra opened this issue Jun 19, 2021 · 0 comments
Open

Custom elements-based approach? #8

shumstra opened this issue Jun 19, 2021 · 0 comments

Comments

@shumstra
Copy link

The native is attribute can be used with custom elements to produce the same effect.

If we register <div> (or <e> as a fellow contributor suggested) as a custom element, we might be able to reduce size and improve performance of this library substantially. Consider how much time we could save millions of users around the world. (Not to mention the energy savings from improving performance – climate change is no joke!!!!)

Yours truly

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

No branches or pull requests

1 participant