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-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 aattributeChangedCallback
to trigger initialization whendefer-hydration
is 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