dlite

A tiny, blazing fast view library that creates reactive Web Components

MIT License

Downloads
32
Stars
50
Committers
10
dlite - 0.19.0 Latest Release

Published by adamghill over 1 year ago

  • Update emerj merging algorithm to the latest version.
dlite - 0.18.0

Published by adamghill over 1 year ago

  • Don't show undefined when rendering the template.
dlite - 0.17.0

Published by adamghill over 1 year ago

  • Make component methods available from template
dlite - 0.16.2

Published by adamghill over 1 year ago

  • Remove visibility: hide on first component render
dlite - 0.16.1

Published by adamghill over 1 year ago

  • Include link tags with rel=stylesheet for Shadow DOM scoped css
dlite - 0.16.0

Published by adamghill over 1 year ago

  • Scoped CSS when attached to a Shadow DOM
  • Make shadowDOM default true (again) now that scoped CSS is working
  • Add debug setting to show dlite error messages on the page while developing
  • Include attributes when converting from a regular DOM element to a Web Component
  • Return components from Dlite initializer for use in JavaScript

Breaking changes

  • Remove refId setting because attributes (i.e. id) are copied to custom elements and components are now returned from the Dlite initializer
dlite - 0.15.0

Published by adamghill over 1 year ago

  • Revert shadowDOM default back to false since that will be less disruptive and a better first experience
dlite - 0.14.0

Published by adamghill over 1 year ago

  • Prevent flickering when rendering for all component types (tagName, el, and in-place elements)
  • Attaching components to a Shadow DOM is now the default; this will be useful for encapsulation and scoped styles in the future
  • Set styles on custom element when on an initial el
  • Add demo for how to use shared component template
  • Switch to vitest from jest for quicker unit tests
dlite - 0.13.1

Published by adamghill almost 2 years ago

  • Remove unnecessary files