unstale

npm / @lit/reactive-element

@lit/reactive-element

What changed in @lit/reactive-element 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

3 breaking1 deprecations4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@lit/reactive-element 28 changes

Breaking changes 3

  • Internet Explorer 11 is no longer supported.

    2.0.0release notes

  • The deprecated behavior and arguments were deleted; migrate selector usage to @queryAssignedElements.

    2.0.0release notes

  • Generated accessors now wrap user accessors and automatically call this.requestUpdate() in the setter; with noAccessor: true, users must call this.requestUpdate() themselves to trigger an update.

    2.0.0release notes

Deprecations 1

  • Async overrides of performUpdate() now produce a warning.

    2.0.0release notes

Fixes and other changes 4

  • Decorators now work with the accessor keyword when experimentalDecorators is true.

    2.0.0release notes

  • The return type now includes undefined.

    2.0.0release notes

  • The return type is now HTMLElement | DocumentFragment, matching renderRoot and lit-html's render() method.

    2.0.0release notes

  • The type is now HTMLElement | DocumentFragment, matching createRenderRoot() and lit-html's render() method.

    2.0.0release notes