Open
Description
Summary
Currently WCC can handle .jsx and .ts file independtly, but not at the same time. Let's change that!
Details
So basically someone could a component like
interface User {
name: string;
}
export default class Greeting extends HTMLElement {
connectedCallback() {
this.user: User = {
name: this.getAttribute('name') || 'World'
};
this.render();
}
render() {
const { name } = this;
return (<h3>Hello ${user.name}! 👋</h3>)
}
}
customElements.define('x-greeting', Greeting);
Metadata
Assignees
Labels
Type
Projects
Status
📋 Backlog