Hacker ApprovedDepartments

Lit

Hacker Approved

Ranked 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%
Each figure is one person. RecommendsCriticizes

Recommended in 11 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. 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”
  • 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.

Lit compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
React48256046%1310 yrs21 owners—
htmx32012073%132 yrs12 ownersApproved
Svelte1513780%133 yrs9 ownersApproved
Vue1213976%139.9 yrs4 ownersApproved
LitThis page271269%11—Approved
See all 21 JavaScript frameworks, ranked

What 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)”

CriticizesComment from 28 Oct 2026 in “Faster and simpler web components with Solarite”

“It's part of the OpenJS Foundation (formerly jQuery and Node.js Foundations)”

RecommendsComment from 21 Oct 2026 in “The Future of CSS”

“Lit pretends are more complicated than they are because it also assumes you want to start from Shadow DOM by default”

CriticizesComment from 6 Oct 2026 in “Why don't more developers “use the platform”?”

“Much less boilerplate than raw custom elements.”

RecommendsComment from 5 Oct 2026 in “Why don't more developers “use the platform”?”

“You can inspect a Lit component directly in Chrome, it’s just a custom element.”

RecommendsComment from 5 Oct 2026 in “Why don't more developers “use the platform”?”

“now we're just using another framework with one small piece swapped out”

CriticizesComment from 5 Oct 2026 in “Why don't more developers “use the platform”?”

“super light web component libraries like Lit”

MixedComment from 15 Sep 2026 in “The CSS Zen Garden dream, finally shipped”

“Lit has been a nice middle ground for me.”

RecommendsComment from 1 Aug 2026 in “Progressive Web Components”

“Lit element is much more accessible if you want just web components, but with a sane syntax.”

RecommendsComment from 1 Aug 2026 in “Progressive Web Components”

“I'd reach for lit instead of adding the Sortable.js dependency”

RecommendsComment from 27 Jul 2026 in “Removing React.js from the codebase and adapting Htmx for UI interactivity”

“I have success with Web Components / Lit”

RecommendsComment from 11 Jun 2026 in “Why AI hasn't replaced software engineers, and won't”

“I think their approach to state management using a context is limiting”

CriticizesComment from 5 Jun 2026 in “Show HN: I created a React alternative using web componnents”

“Lit is great but unfortunately pretty much unmaintained”

MixedComment from 4 Jun 2026 in “Show HN: I created a React alternative using web componnents”

“isn't maintained by it anymore. The project is, unfortunately, almost dead tho”

CriticizesComment from 4 Jun 2026 in “VoidZero Is Joining Cloudflare”

“solve at least 80% of the issues there were and are with just plain JS”

RecommendsComment from 26 May 2026 in “Does Anybody Actually Like React?”

“the result is so much simpler”

RecommendsComment from 26 May 2026 in “Does Anybody Actually Like React?”

“Lit's plain JS/TS, no-build-required approach is easy for LLMs to generate”

RecommendsComment from 11 Apr 2026 in “Instant 1.0, a backend for AI-coded apps”

“Lit: each todo-item is an HTMLElement (C++ heap, ~124 bytes minimum)”

CriticizesComment from 5 Apr 2026 on Hacker News

“Lit is not opinionated about your build system You can write Lit components in plain JS, going back to ES2015.”

RecommendsComment from 24 Mar 2026 in “No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML”

“the framework is pretty opinionated on your build system in my experience”

MixedComment from 24 Mar 2026 in “No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML”

“Lit is widely used to build very complex apps”

RecommendsComment from 24 Mar 2026 in “No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML”

“There wasn't really much upside either. No real performance gain or superior feature, and you got fewer features and a smaller ecosystem.”

CriticizesComment from 24 Mar 2026 in “No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML”

“Web Components API is verbose enough that you want to handle it with at least some abstraction.”

RecommendsComment from 21 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“Lit is "fully backwards incompatible [with] Polymer"? No, Lit and Polymer work just fine together because they both make web components.”

MixedComment from 21 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“It's a library that gives you better ergonomics.”

RecommendsComment from 21 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“the frameworks handle a bunch of stuff for you, like reactive properties”

RecommendsComment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“Despite being acrively promoted as "not a framework just a lib" it's rapidly sucking in all the features from "fast moving js"”

CriticizesComment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“Lit in particular is one giant memory leak.”

CriticizesComment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“a very lightweight and useful one”

RecommendsComment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“Lit is mature, but it's not more mature than React”

MixedComment from 20 Feb 2026 in “Web Components: The Framework-Free Renaissance”

“the common WC base classes like Lit's ReactiveElement all do change detection on a per-property basis”

RecommendsComment from 20 Jan 2026 in “CSS Web Components for marketing sites”

“My secondary concern with Lit is the additional complexity of using shadow and light DOM together”

MixedComment from 29 Dec 2025 in “You can make up HTML tags”

“oh nice! I didn't know that you can just make it use light dom.”

RecommendsComment from 29 Dec 2025 in “You can make up HTML tags”

“If you prefer global styles, you can render into light DOM instead with that one-line switch.”

RecommendsComment from 29 Dec 2025 in “You can make up HTML tags”

“the hoops you have to jump through to style elements”

CriticizesComment from 29 Dec 2025 in “You can make up HTML tags”

“while we didn't go with it, it was very nice”

RecommendsComment from 29 Dec 2025 in “You can make up HTML tags”

“it's quite good, simpler to reason about than the current state of React imo.”

RecommendsComment from 29 Dec 2025 in “You can make up HTML tags”

“We've finally removed the legacy Polymer dependency. All components are now 100% Lit-based”

MixedComment from 18 Dec 2025 in “Vaadin 25.0: Modernizing the Java Web Stack (Java 21, Spring Boot 4, 100% Lit)”

“Lit has joined the OpenJS foundation to stay afloat”

MixedComment from 4 Dec 2025 in “RCE Vulnerability in React and Next.js”

“Lit is pretty good :-) Though it was never positioned as a framework. And it recently was liberated from google.”

RecommendsComment from 4 Dec 2025 in “RCE Vulnerability in React and Next.js”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.