Skip to content

is-land v3.0.0

Compare
Choose a tag to compare
@zachleat zachleat released this 14 Nov 17:37
· 25 commits to main since this release
  • Adds support for Declarative Shadow DOM <template shadowroot="open"> #13 Thank you @e111077!

    • Example demo
    • Learn more at web.dev: Declarative Shadow DOM
    • Notably, this does include a tiny (4 lines of code) polyfill for browsers that do not support Declarative Shadow DOM (Firefox and Safari at time of writing).
  • Support community standard defer-hydration attribute on custom elements to skip custom element rename step #14 Thank you @dgp1130!

    • defer-hydration signals to component code that they should skip initialization. They must implement a attributeChangedCallback to trigger initialization when defer-hydration is removed by is-land (when the island hydrates). You can see a component sample using defer-hydration.
  • <is-land> without loading conditions (on: attributes) skip custom element rename step #15

  • Full milestone: https://github.com/11ty/is-land/milestone/1?closed=1

  • Full changelog: v2.0.3...v3.0.0