What happened?
Trying to use a literal attribute in a JSX expression and it looks like there are getting stripped out?
export default class BadgeComponent extends HTMLElement {
connectedCallback() {
this.render();
}
render() {
return (
<img width={10} />
);
}
}
customElements.define('wcc-badge', BadgeComponent);
Steps to reproduce
- Create a template with a literal attribute expression
- Run it through WCC
Environment
latest WCC version
Additional Context
Originally observed in #110
What happened?
Trying to use a literal attribute in a JSX expression and it looks like there are getting stripped out?
Steps to reproduce
Environment
latest WCC version
Additional Context
Originally observed in #110