Caleb Williams
Caleb Williams
Hey @runem, here's [the reproduction for this issue](https://github.com/calebdwilliams/wca-demo).
I would expect option one above where type is set as `'world | 'y\'all'`, but maybe that's wrong-headed. If it does come out as `Greeting`, I do feel like there...
Yeah, that's great. I'm more than happy having it actually say `Greeting`, so long as `Greeting` is defined, in the docs, FWIW. Side question, how does `custom-elements.json` handle custom types?
I realize this is outside the scope of this particular issue, but with custom-elements.json, I would imagine there would be a types field outside of tags. This way the type...
I can definitely respect that decision. The goal here is to hopefully be able to use something like esbuild alone instead of also needing Rollup to build out libraries, but...
I've been thinking about this a bit more and wouldn't the section you referenced seem to imply the need to distinguishing the difference between modules with type assertions and modules...
Should be fixed in `[email protected]`. Thanks @sipris!
In the meantime you might consider something like [JSX-native-events](https://www.npmjs.com/package/jsx-native-events). I talk about that a bit in [this article in CSS-Tricks](https://css-tricks.com/3-approaches-to-integrate-react-with-custom-elements/).
Not sure if there has been any movement on this that hasn't been tracked on here specifically, but I would argue for > Is disabled restorable state that for the...
This is a really simple fix. The `ElementInternals.prototype.setValidity` method takes three arguments: - `validityState:Partial` - `message?: string` (required if any validity flag is set to true) - `validationTarget?: HTMLElement` (must...