Skip to content

Successor Map · Frontend and mobile frameworks

Polymer to Lit: same team, one component at a time

The Polymer library is in maintenance mode, and its own documentation recommends Lit for new development. Lit comes from the same team and can run beside Polymer in one app.

Slide: Polymer on the left, an arrow, and Lit on the right.
Status of the old tool
Maintenance only
Effort to move
A real project
gen2.dev's view
Move when convenient
Sources checked
2026-11-28

Key facts

Gen 1The Polymer library (its documentation covers Polymer 3.x)
Gen 2Lit
Kind of toolFrontend and mobile frameworks
Status of Gen 1Maintenance only The Polymer library documentation site, read on November 28, 2026, carries a banner saying the library is in maintenance mode and recommending Lit.
Effort to moveA real project: plan it and run both for a while
What breaksLit has no two-way data binding and no observers, so components built around either need their data flow reworked.
Should you move?Move when convenient Polymer is in maintenance mode, not at end of life, and the two libraries work together, so components can move as they are touched. This is gen2.dev's view, not the maintainers'.
Sources checked2026-11-28, 4 sources

Gen 1 and Gen 2 side by side

npm registry Gen 1 Gen 2
Package@polymer/polymerlit
Latest version3.5.23.3.3
Latest releaseOct 7, 2024May 14, 2026
First releaseFeb 2, 2016Jul 4, 2012
LicenseBSD-3-ClauseBSD-3-Clause
Downloads, last week321,3549,522,521

Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.

What Gen 1 was

Polymer is a library for building web components: custom HTML elements with their own templates, properties and styles. A Polymer element declared its template once, bound data into it, and could bind data back out again through two-way bindings.

The library's documentation site now opens with a banner: "The Polymer library is in maintenance mode. For new development, we recommend Lit."

What replaced it

Lit, which its documentation describes as "a simple library for building fast, lightweight web components." The migration article is direct about the relationship: "Lit is a successor to the Polymer library." It was built by the same team with many of the same aims.

That shared origin is what makes this move unusual. Both libraries produce standard web components, so an element written in one can sit inside an element written in the other.

What moving involves

The article states the key fact in one sentence: "Polymer and Lit work together, so you can migrate one component at a time."

That makes this a strangler fig migration with the seams already cut. The order the article recommends:

  • Upgrade to Polymer 3 first, because Polymer 3 and Lit are both distributed as JavaScript modules.
  • Remove two-way bindings from the Polymer code before converting anything.
  • Convert components one at a time, shipping as you go.

Each conversion is a rewrite of that component's class. Templates become a function that returns a tagged template literal. Repeats and conditionals, which Polymer handled with helper elements such as dom-repeat, become ordinary JavaScript expressions. Many Polymer mixins can be reimplemented as Lit mixins.

What breaks

  • Two-way binding. This is the large one. The article says, "The Lit team made an intentional choice not to implement two-way data bindings." Data flows down through properties and back up through events, and components designed around the old model need a redesign, not a translation.
  • Observers. "Lit doesn't support observers directly." The work moves into lifecycle methods such as willUpdate() and updated().
  • Templates. Both libraries have a function called html, and they are not the same. Polymer's runs once during initialization. Lit's is usually called on every update.
  • Build tools. Lit uses newer JavaScript features, and the article warns: "You'll need to update your tools if they don't handle these newer JavaScript features."

Should you move?

Move when it is convenient. Maintenance mode is not end of life, and no fetched source says Polymer has stopped receiving fixes. Because the two libraries work together, the sensible plan is to write new components in Lit and convert old ones when they next need real changes.

The exception is an app with two-way bindings threaded through most of its components. For that app the first step is its own project, and it is worth scheduling on purpose.

Common questions

Is Polymer dead?

Not yet. It is in maintenance only. The Polymer library documentation site, read on November 28, 2026, carries a banner saying the library is in maintenance mode and recommending Lit.

What replaced Polymer?

Lit. Effort to move: A real project: plan it and run both for a while

Should I move off Polymer?

gen2.dev's view: Move when convenient. Polymer is in maintenance mode, not at end of life, and the two libraries work together, so components can move as they are touched.

Sources

  1. Polymer Library documentation - Polymer Project - Carries the banner stating that the Polymer library is in maintenance mode and that Lit is recommended for new development.
  2. Polymer/polymer README - GitHub - Recommends LitElement for new projects and describes it as a successor to the PolymerElement base class.
  3. Lit for Polymer users - Lit (August 22, 2022) - The migration article: interoperability, the recommended order of work, and each difference between the two libraries.
  4. Lit documentation - Lit - Describes Lit as a simple library for building fast, lightweight web components; the documentation covers Lit 3.
  5. @polymer/polymer - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026
  6. lit - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.