-
Notifications
You must be signed in to change notification settings - Fork 88
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
Support for web components #12
Comments
Hi @lastmjs, |
I'm looking forward to support Web Components! |
Hi @SatoshiKawabata, If you try to modify your code as follow you can see that your web component works as expected: init({
unsafePatch: true,
}).then(asmDom => {
// ...
}); If you are interested in experimenting with asm-dom and webcomponents please let me know, it might be a good starting point to write some tests |
@mbasso Great! It's working! Thanks. |
@SatoshiKawabata you're welcome! @lastmjs are you thinking about something like this for web components? (it can be done in the same way using C++ APIs) |
There is also https://github.com/skatejs/ssr, which uses undom to generate WebComponents at the server side. It can be useful reference |
This is potentially an idea for improvement. Is there support for the web components standards: template, custom elements, shadow DOM?
The text was updated successfully, but these errors were encountered: