WeSearch

Progressive Web Components

Ariel Salminen· ·4 min read · 0 reactions · 0 comments · 2 views
#web development#javascript#design systems#open source#server-side rendering#Elena#Progressive Web Components#Declarative Shadow DOM#Custom Element#React Server Components
Progressive Web Components
⚡ TL;DR · AI summary

The article introduces Progressive Web Components as a design philosophy that emphasizes building web components with a foundation of HTML and CSS, enhanced progressively with JavaScript. The author presents Elena, a 2.6kB open-source library designed to address common web component issues like layout shifts, accessibility, and server-side rendering limitations. Elena supports cross-framework compatibility and allows developers to build components that render quickly and accessibly without relying heavily on client-side JavaScript.

Key facts
Original article
Ariel Salminen · Ariel Salminen
Read full at Ariel Salminen →
Opening excerpt (first ~120 words) tap to expand

Progressive Web ComponentsI’ve worked with web components for nearly a decade and built various enterprise-scale design systems with them. While I love what they offer on paper, the same pain points keep coming back:Layout shifts, flash of unstyled content, poor server-side rendering support, too much reliance on client side JavaScript, doesn't play well with frame­works like React Server Components, accessibility issues, and so on…Despite all of this, I still think web components are a great foundation for a design system. No other approach gives you true cross-framework portability built on what the web platform already provides.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Ariel Salminen.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Ariel Salminen