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?
Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
Nice article! Using
template.innerHTMLare quite hacky and cannot make use of IDE or Editor's features. Is there any way (e.g. load html file) to replacetemplate.innerHTMLmethod in yoursuper-span.jsafter HTML-import are deprecated?I think you'd like to check out lit-element. I have a whole article on it in part 5 of this series.