4 ms·
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
by dtagames 2y 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).
- CodeVisio 2y agoIf I got it right, does your solution assume a web engine of some sort behind the scenes?
- dtagames 2y agoNo. 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-components-lit-part-1-911aa7058e9b https://medium.com/gitconnected/getting-started-with-web-com...