Sam Richard
@Snugug
BBQ lead, ChromeOS DevRel. Mostly food, sometimes design and development, especially for the web. 7008px tall. He/him.
An archive of my Twitter timeline up until I moved to Mastodon. You can find me there at @[email protected]
Taught some web components today, and thought I’d share the @CodePen I used: shows basics of setting up a shadow root from an HTML template, listening for attribute changes, and updating shadow element based on those changes, plus some extras! codepen.io/Snugug/pen/MWVOzER
@CodePen More teaching today, this time state management basics w/a ~20 line, 0 dep basic state manager driving web components. While we can argue about DX, The Platform™️ can handle componentized state-based web apps just fine for many (most?) usecases on its own