Skip to content

v2.0.0

Choose a tag to compare

@ayo-run ayo-run released this 10 Dec 19:33
· 215 commits to main since this release

New Features

  • Easily define and initialize props that get translated into observed HTML attributes
  • A new minimal html function for tagged templates powered by preact's tiny (450 Bytes) htm/mini
  • Attach "side effects" that gets triggered on property value changes with attachEffect (example)
  • All internals exposed as utils in web-component-base/utils

Improvements

  • Bundles now prebuilt with esbuild with all dependencies resolved in each file

Fixes

  • Various bug fixes

Credits

  • We now use Preact's htm/mini for our simple templating
  • Massive thanks to everyone who provided various feedbacks that lead to these features! -Ayo