DEV Community

Discussion on: Lets Build Web Components! Part 1: The Standards

Collapse
 
kawaiidora profile image
哆啦(Dora)

Nice article! Using template.innerHTML are quite hacky and cannot make use of IDE or Editor's features. Is there any way (e.g. load html file) to replace template.innerHTML method in your super-span.js after HTML-import are deprecated?

Collapse
 
bennypowers profile image
Benny Powers 🇮🇱🇨🇦

I think you'd like to check out lit-element. I have a whole article on it in part 5 of this series.