←back to thread

277 points merqurio | 1 comments | | HN request time: 0.213s | source
Show context
o_m ◴[] No.45113665[source]
I don't see the need for Lit anymore. Lately I have just been raw dogging web components without any libraries. Having a nice templating system like JSX on the server makes it a breeze.

Part of using web components, for me, is that it is just javascript. There is no upgrades or deprecations to think about. Of course those things still exist on the server though, but it is easier to maintain it there.

replies(3): >>45113699 #>>45114073 #>>45116966 #
mariusor ◴[] No.45113699[source]
Personally I find that lit abstracts quite well some pieces of functionality that you're going to implement yourself anyway to not have to write manual <template> all over your code plus the plumbing to add it to the DOM.
replies(1): >>45114536 #
1. o_m ◴[] No.45114536[source]
Yeah, it does require some more boilerplate. I abstract some of it JSX, and with LLMs writing boilerplate code isn't that annoying anymore.