ภาพรวม
ไลบรารีสำหรับเขียน Web Components ด้วย template และ reactive property
ความเป็นมา
Lit ใช้มาตรฐาน custom element และ shadow DOM เป็นฐาน ช่วยให้ component ถูกใช้ข้าม framework ได้เมื่อ interface สอดคล้อง
เหมาะกับงานแบบไหน
design system ที่ต้องให้หลายทีมใช้ component บนเว็บคนละ framework
ข้อควรชั่งน้ำหนัก
ต้องออกแบบ attribute/property/event และ styling boundary รวมถึง SSR และ accessibility ของ component เอง
