Lit – Library for Fast, Lightweight Web Components
May 10, 2021 864
Lit is a simple library for building fast, lightweight web components.
Simple: Building on top of the Web Components standards, Lit adds just what you need to be happy and productive: reactivity, declarative templates and a handful of thoughtful features to reduce boilerplate and make your job easier.
Fast: Updates are fast, because Lit keeps track of your UI’s dynamic parts and updates only those when the underlying state changes–no need to rebuild a whole virtual tree and diff it with the current state of the DOM.
Lightweight: Weighing in at around 5 KB (minified and compressed)