-
SSR is not progressive enhancement. Progressive enhancement isn’t a box you tick (cc #a11y). Progressive enhancement is finding baseline functionality with the lowest possible tech then ENHANCING IT when more tech is available. This means Web Components are IDEAL. Jesus.
-
…in reply to @piccalilli_
HTML is magic because it doesn’t shit its pants when it doesn’t understand what it sees. If it see your custom element it’ll treat it as a div if it’s not been registered This means you can put default content inside it (and even use it later) ✅ Lowest possible tech ENHANCED
-
…in reply to @piccalilli_
I tell you, JS Twitter is equal parts exhausting and hilariously stupid.
-
…in reply to @piccalilli_
HERE LOOK THIS IS A SIMPLE FUCKING EXAMPLE WHERE THE CONTENT GETS MAGICALLY TRANSFORMED WHEN THE ELEMENT IS REGISTERED. PROGRESSIVE FUCKING ENHANCEMENT MOTHERFUCKERS. codepen.io/andybelldesign/project/full/ZvGEar (why am I screaming)
-
…in reply to @piccalilli_
AND ANOTHER FUCKING EXAMPLE AND THIS TIME I SPOON FEED YOU LIKE YOU’RE AND INFANT hankchizljaw.com/wrote/a-progressive-disclosure-component/
-
…in reply to @piccalilli_
If you want a recommendation for a framework, pick Vue: ✅ It’s super close to web components ✅ you can use it with existing HTML ✅ incredible docs ✅ incredible community vuejs.org/