Closed imbolc closed 5 years ago
Very cool way to test this! I'm going to make some changes but I'll get your feedback before I merge it. For one thing, lowercase custom elements like <foo>
aren't valid from what I can tell on the docs.
A lowercase tag, like
, denotes a regular HTML element. A capitalised tag, such asor , indicates a component.
Thanks, I didn't notice this in docs :) May there be some edge cases we can't predict now, as using web components inside of svelte once or something?
Yeah, there definitely could be something we're not thinking of, but I'd rather not try to anticipate too much until there's a practical example. I'm going to close this and merge #3 which includes these same changes. Thanks again!
It's painful enough to have some tests :)