Hacker News new | ask | show | jobs
by dtagames 655 days ago
Web components are bare metal standard stuff that works on all devices. You could use Lit as a small shim for reactive rendering. That way, you can create your component library with nearly zero dependencies and yet use it in desktop-equivalent apps (via Electron or distribute as a web app).
1 comments

If I got it right, does your solution assume a web engine of some sort behind the scenes?
No. In fact, the whole goal is to stay as close to "bare metal" as possible without any dependencies other than the browser (and Lit). I wrote an article[0] about this that you might find helpful.

[0] https://medium.com/gitconnected/getting-started-with-web-com...