Wraplet vs Web Components
· 15 min read
Introduction
Wraplet takes what you like about Web Components – class per element, no virtual DOM, server-rendered HTML, and adds typed dependency management, lifecycle decoupled from the DOM, and more. Still, both share a lot of DNA, and the best way to see it is to look at the same widget written in both.
Here is a simple "color toggle" as a Web Component:
