Lit
Hacker ApprovedRanked 10 of 21 JavaScript frameworks by recommenders
Lit is a lightweight library that makes web components easier to write than raw custom elements, without requiring a build step. Critics say its maintenance has slowed.
Lit is a lightweight library that makes web components easier to write than raw custom elements, without requiring a build step. Critics say its maintenance has slowed.
39 people gave an opinion
- recommend it
- 27
- criticize it
- 12
- approval share
- 69%
Recommended in 11 of 13 months
- November 2025: not recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 27 people recommend itNeeds 10 or more, met.
- 2.3 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 11 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Lightweight and simpler than React
“it's quite good, simpler to reason about than the current state of React imo.”
Comment from 29 Dec 2025 in “You can make up HTML tags” “super light web component libraries like Lit”
Comment from 15 Sep 2026 in “The CSS Zen Garden dream, finally shipped” “a very lightweight and useful one”
Comment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance” - Comment from 26 May 2026 in “Does Anybody Actually Like React?”
Works with plain JS, no build
“Lit is not opinionated about your build system You can write Lit components in plain JS, going back to ES2015.”
Comment from 24 Mar 2026 in “No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML” “Lit's plain JS/TS, no-build-required approach is easy for LLMs to generate”
Comment from 11 Apr 2026 in “Instant 1.0, a backend for AI-coded apps” “solve at least 80% of the issues there were and are with just plain JS”
Comment from 26 May 2026 in “Does Anybody Actually Like React?” Less boilerplate than raw custom elements
“Web Components API is verbose enough that you want to handle it with at least some abstraction.”
Comment from 21 Feb 2026 in “Web Components: The Framework-Free Renaissance” “It's a library that gives you better ergonomics.”
Comment from 21 Feb 2026 in “Web Components: The Framework-Free Renaissance” “Much less boilerplate than raw custom elements.”
Comment from 5 Oct 2026 in “Why don't more developers “use the platform”?” Mature and widely used
“Lit is mature, but it's not more mature than React”
Comment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance” “Lit is widely used to build very complex apps”
Comment from 24 Mar 2026 in “No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML”
What people warn about
Each mark is one comment
Maintenance concerns
“isn't maintained by it anymore. The project is, unfortunately, almost dead tho”
Comment from 4 Jun 2026 in “VoidZero Is Joining Cloudflare” “Lit is great but unfortunately pretty much unmaintained”
Comment from 4 Jun 2026 in “Show HN: I created a React alternative using web componnents” “Lit has joined the OpenJS foundation to stay afloat”
Comment from 4 Dec 2025 in “RCE Vulnerability in React and Next.js” Shadow and light DOM complexity
“Lit pretends are more complicated than they are because it also assumes you want to start from Shadow DOM by default”
Comment from 6 Oct 2026 in “Why don't more developers “use the platform”?” “My secondary concern with Lit is the additional complexity of using shadow and light DOM together”
Comment from 29 Dec 2025 in “You can make up HTML tags” “not having the limitations of shadow dom (Lit)”
Comment from 28 Oct 2026 in “Faster and simpler web components with Solarite” Feels like another framework
“There wasn't really much upside either. No real performance gain or superior feature, and you got fewer features and a smaller ecosystem.”
Comment from 24 Mar 2026 in “No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML” “Despite being acrively promoted as "not a framework just a lib" it's rapidly sucking in all the features from "fast moving js"”
Comment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance” “now we're just using another framework with one small piece swapped out”
Comment from 5 Oct 2026 in “Why don't more developers “use the platform”?” Memory overhead per element
“Lit: each todo-item is an HTMLElement (C++ heap, ~124 bytes minimum)”
Comment from 5 Apr 2026 on Hacker News “Lit in particular is one giant memory leak.”
Comment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance”
Other JavaScript frameworks people recommend
The four most recommended other JavaScript frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 21 JavaScript frameworks, rankedWhat people said
40 of the 46 comments that mention it, newest first. Each links to the original comment.
“not having the limitations of shadow dom (Lit)”
“It's part of the OpenJS Foundation (formerly jQuery and Node.js Foundations)”
“Lit pretends are more complicated than they are because it also assumes you want to start from Shadow DOM by default”
“Much less boilerplate than raw custom elements.”
“You can inspect a Lit component directly in Chrome, it’s just a custom element.”
“now we're just using another framework with one small piece swapped out”
“super light web component libraries like Lit”
“Lit has been a nice middle ground for me.”
“Lit element is much more accessible if you want just web components, but with a sane syntax.”
“I'd reach for lit instead of adding the Sortable.js dependency”
“I have success with Web Components / Lit”
“I think their approach to state management using a context is limiting”
“Lit is great but unfortunately pretty much unmaintained”
“isn't maintained by it anymore. The project is, unfortunately, almost dead tho”
“solve at least 80% of the issues there were and are with just plain JS”
“the result is so much simpler”
“Lit's plain JS/TS, no-build-required approach is easy for LLMs to generate”
“Lit: each todo-item is an HTMLElement (C++ heap, ~124 bytes minimum)”
“Lit is not opinionated about your build system You can write Lit components in plain JS, going back to ES2015.”
“the framework is pretty opinionated on your build system in my experience”
“Lit is widely used to build very complex apps”
“There wasn't really much upside either. No real performance gain or superior feature, and you got fewer features and a smaller ecosystem.”
“Web Components API is verbose enough that you want to handle it with at least some abstraction.”
“Lit is "fully backwards incompatible [with] Polymer"? No, Lit and Polymer work just fine together because they both make web components.”
“It's a library that gives you better ergonomics.”
“the frameworks handle a bunch of stuff for you, like reactive properties”
“Despite being acrively promoted as "not a framework just a lib" it's rapidly sucking in all the features from "fast moving js"”
“Lit in particular is one giant memory leak.”
“a very lightweight and useful one”
“Lit is mature, but it's not more mature than React”
“the common WC base classes like Lit's ReactiveElement all do change detection on a per-property basis”
“My secondary concern with Lit is the additional complexity of using shadow and light DOM together”
“oh nice! I didn't know that you can just make it use light dom.”
“If you prefer global styles, you can render into light DOM instead with that one-line switch.”
“the hoops you have to jump through to style elements”
“while we didn't go with it, it was very nice”
“it's quite good, simpler to reason about than the current state of React imo.”
“We've finally removed the legacy Polymer dependency. All components are now 100% Lit-based”
“Lit has joined the OpenJS foundation to stay afloat”
“Lit is pretty good :-) Though it was never positioned as a framework. And it recently was liberated from google.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.