piccalilli_’s avatarpiccalilli_’s Twitter Archive—№ 26,137

  1. 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.
    1. …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
      1. …in reply to @piccalilli_
        I tell you, JS Twitter is equal parts exhausting and hilariously stupid.
        1. …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)
          1. …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/
            1. …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/
              1. …in reply to @piccalilli_
            2. …in reply to @piccalilli_
              I honestly don’t know what goes through very well respected framework people’s heads. It’s almost like they’ll try anything to make their thing relevant.