Preact Custom Element Versions Save

Wrap your component up as a custom element

4.3.0

5 months ago

Add support for shadow DOM closed mode #75

v4.2.1

3 years ago
  • Fix crash with empty attribute values (#51, thanks @marvinhagemeister)
  • Streamline vdom function signature (#46, thanks @marvinhagemeister)

v4.2.0

3 years ago

Features

  • Pass context across Custom Element boundaries (thanks, @marvinhagemeister @ffriedl89 #43)
  • Reflect DOM properties to DOM attributes and more importantly Preact props (thanks, @marvinhagemeister #44)

Maintenance

  • Simplify test suite (thanks, @marvinhagemeister #45)

v4.1.0

3 years ago
  • Change detachedCallback to disconnectedCallback to match Custom Elements v1 spec (thanks @filipbech, #38)
  • Add support for slot as props (thanks, @marvinhagemeister #36)

v4.0.0

3 years ago
  • Hyphenate camelCased Preact props (thanks @tyom @bspaulding #30)
  • Add support for shadow option (thanks @developit #27)
  • Support zero-mutation hydration via hydrate attribute (thanks @developit #24)
  • Refactor internals for size improvements (thanks @developit #21)

Maintenance

  • Update README (thanks @developit @marvinhagemeister #25 #22)
  • Switch to GitHub Actions (thanks @ForsakenHarmony #20)