Re: [WICG/webcomponents] Editor support for WebComponents (#776)

@octref Hello, I'm late to this conversation, but I'm super interested in support for flavors of `html` template tags. Have you (or anyone else here) worked on making this possible for different framework's `html` template tags?

For example, I use (and contribute to) the [Solid.js `html` template tag](https://github.com/solidjs/solid/blob/main/packages/solid/html/README.md) in my custom elements, and would like type checking in the templates. Here's sample template in one of my custom elements:

https://github.com/lume/lume/blob/b0c2cdcf8498fae1280c8121160ac6ff328c1588/src/cameras/CameraRig.ts#L207-L238

I have type checking support when using JSX, by wiring type defs into React/Solid/etc JSX interfaces. But I currently have no type checking when using `html` template tags. Solid's `html` works a little diffferently from Lit's, so it would need slightly different implementation.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/776#issuecomment-1762058514
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/776/1762058514@github.com>

Received on Friday, 13 October 2023 19:12:11 UTC