Sam Thorogood·Feb 5, 2018JS Callbacks to PromisesThis post is about converting old APIs like requestAnimationFrame to modern, Promise-based APIs. ⚠️ If you just want to see the code…A response icon4A response icon4
InDev ChannelbySam Thorogood·Jul 11, 2017Drag and Droppart of The StandardA response icon3A response icon3
InDev ChannelbySam Thorogood·May 9, 2017Saving Bandwidth with Imagespart of The StandardA response icon1A response icon1
InDev ChannelbySam Thorogood·May 5, 2017ES6 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…A response icon13A response icon13
InDev ChannelbySam Thorogood·Feb 21, 2017Focus 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…
InDev ChannelbySam Thorogood·Feb 17, 2017How 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…A response icon9A response icon9
InDev ChannelbySam Thorogood·Aug 30, 2016Closure Compiler for JS fun and profitThe Closure Compiler — also named JSCompiler, internally at Google — underpins most of Google’s web properties by optimizing, typechecking…A response icon2A response icon2