Daniel Worsnup

Written by Daniel Worsnup, a Software Engineer @ Google. Opinions are my own. Follow me on Twitter!

Objects as Keys: A JavaScript Adventure

October 18, 2019

Explore an alternate solution to using objects as keys in JavaScript and learn about a number of powerful but underappreciated language features.

How to Build a Simple Markdown Plugin for Your Gatsby Site

September 29, 2019

Learn how to write a simple Gatsby plugin that enables you to easily embed third-party videos into your content using a non-standard embed syntax.

Why You Should Be Using the Web Share API in Your PWA

September 18, 2019

The Web Share API is a browser feature that can boost your web app's user experience by unlocking the power of the device's native sharing UI.

Everything You Need to Know About Array#reduce

September 15, 2019

Array#reduce is a simple, powerful, and beautiful function. Take a look at what it's for, how it's implemented, and what it can do!

How to Create a Simple Dropdown Component in React

August 20, 2019

In this tutorial we’ll build a simple dropdown component in React using CodePen. This is the first installment of a multi-part series. By…