is-land v3.0.0
-
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-hydrationattribute on custom elements to skip custom element rename step #14 Thank you @dgp1130!defer-hydrationsignals to component code that they should skip initialization. They must implement aattributeChangedCallbackto trigger initialization whendefer-hydrationis removed byis-land(when the island hydrates). You can see a component sample usingdefer-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