Sam ThorogoodJS Callbacks to PromisesThis post is about converting old APIs like requestAnimationFrame to modern, Promise-based APIs. ⚠️ If you just want to see the code…5 min read·Feb 5, 2018--4--4
Sam ThorogoodinDev ChannelSaving Bandwidth with Imagespart of The Standard6 min read·May 9, 2017--1--1
Sam ThorogoodinDev ChannelES6 Modules in Chrome M61+ES6 modules are now supported in Chrome, from 61 onwards—they also work in older versions, but you’ll have to enable the Experimental Web…5 min read·May 5, 2017--13--13
Sam ThorogoodinDev ChannelFocus inside Shadow DOMIn 2017, across both Chrome and Safari (with Edge and Firefox coming soon), you can encapsulate HTML and CSS in a “shadow root”. Shadow DOM…5 min read·Feb 21, 2017----
Sam ThorogoodinDev ChannelHow to add a Web App Manifest and mobile-proof your siteIt’s the year 201x, and everyone has a phone — statistically an Android phone, if it’s a smartphone. Most importantly, it’s the primary and…4 min read·Feb 17, 2017--9--9
Sam ThorogoodinDev ChannelClosure Compiler for JS fun and profitThe Closure Compiler — also named JSCompiler, internally at Google — underpins most of Google’s web properties by optimizing, typechecking…6 min read·Aug 30, 2016--2--2