zachleat’s avatarzachleat’s Twitter Archive—№ 45,918

    1. New Progressive Enhancement recipe demos dropped: I built 7 📷 image comparison web components with 🛠@WebC_omponents to showcase different progressive enhancement strategies: demo-webc-image-compare.netlify.app/ Stick around for the functional before-JS demo using :has() + radio 😅
  1. …in reply to @zachleat
    @WebC_omponents Some good notes in there on why I think Shadow DOM unnecessarily overcomplicates things 😬
    1. …in reply to @zachleat
      @WebC_omponents Another big takeaway building these demos: with the right SSR + progressive enhancement strategy, you have freedom to move the clientside JS anywhere in your waterfall and minimize the UX impact! Load the JS high or low priority, but decide based on the use case & context.