View this email in your browser
TWiW|30.9.18 #40

This week, we explore Tranducers, Generic types, Dropbox's library migration and more!


Enjoy 🎉

Generics and augmentation will make you a TypeScript wizard

Generics and augmentation will make you a TypeScript wizard

By Idan Dardikman
TypeScript can be used to reduce runtime errors, but the compiler can be difficult to satisfy and a common response is using 'any' to bypass it. Idan Dardikman shows us how to use Generics to avoid the use of 'any'.

30 seconds of code

By Angelos Chalaris, et al
This community-driven project has created a collection of useful JavaScript snippets that you can understand in 30 seconds or less and hopefully put into use in the future.

Intuitive Transducer in JavaScript

By Daw-Chih Liou
Transducing, from the functional programming paradigm, is a data transformation process that doesn't create any intermediate products. Daw-Chih Liou walks through what it is and how to use it.

Migrating from Underscore to Lodash

By Matthew Gerstman
Dropbox set out to modernise their front-end stack, the web application is 10 years old and as you can imagine, full of legacy code. Matthew Gerstman takes us through their migration.
JS Party - The CSS expertise kerfuffle

The CSS expertise kerfuffle

JS Party
Suz, Nick and KBall are joined by special guest Aimee Knight to talk about CSS, how it's often trivialised and how that in turn affects the people who write it, what CSS in JS is and how to get started with it.
@dhh on Twitter


1:42 PM · Sep 28, 2018
Visual Studio Code can now convert your long chains of Promise.then()'s into async/await! 🎊 Works very well in both JavaScript and TypeScript files. .catch() is also correctly converted to try/catch ✅
Copyright © 2018 This Week in Web, All rights reserved.

Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp