Hacker News new | past | comments | ask | show | jobs | submit login

Out of curiosity, is it possible to define lit-html templates outside of JavaScript, such as in an accompanying HTML file?



Stampino is an experimental system to do just that: https://github.com/justinfagnani/stampino

It utilizes lit-html's compiled template support to transform HTML templates into lit-html templates and reuse the underlying efficient rendering / updating machinery.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: