preactement (npm): Sometimes it's useful to let the DOM render our components when needed. Custom Elements are great at this. They provide various methods that can inform you when an element is "connected" or "disconnected" from the DOM.
Keywords: preact|custom elements|web components|virtual dom|partial hydration|universal|isomorphic|hydrate|component|components|custom-elements|hydration|javascript|jsx|library|lightweight|nodejs|partial-hydration|react|ssr|tsx|typescript|utility|vue|web-components