DEV Community

loading...

Discussion on: Stencil: I Think I Found My Frontend Home

Collapse
ryansmith profile image
Ryan Smith

I think it can be done. I set up lit-html in Stencil and it seemed to work, but was kind of weird because I had to create a dummy element to attach lit-html to and call render() { render( document.querySelector("element") ) }. I'm sure that probably negated any compiler optimizations in Stencil. There might be a better way to do it, but I haven't explored it too much.