Post

I have accidentally created a shit reimplementation of lit.dev in my component lab while iterating on the parts of making my components that have felt lacking. I think it’s time to just migrate to Lit.

Out of interest was it the lit-html part or lit-element? I find lit-html the most valuable part personally. I even have a little toy library that's using Vue reactivity with lit-html and a Vue esque component API.

0 reposts2 likes

A bit of both, really. I had my own set of functions to make DOM elements that worked but was very shonky. Then I found HTL and thought it was cool. Then I realised lit-html has similar ergonomics but does partial rendering. I’d implemented my own @property decorators that aren’t as nice as Lit’s.