This site runs best with JavaScript enabled.
Looking for something specific? Search for a blogpost here.

How to React ⚛️

This last week I gave a talk at React Dev Summit called "How to React." . It's basically an updated version of Pete Hunt's react-howto GitHub repo. I thought I'd just jot down a few things from this talk for you to enjoy in your inbox today :) Abstraction Let's start out talking about…

Read →

Compose Render Props

Today's newsletter will be short as my time's a bit limited, but I wanted to make sure you don't miss this tweet and the overarching concept: https://twitter.com/kentcdodds/status/977317314361282560 The example itself is a little unimpressive from a user experience standpoint (it's based on…

Read →

Introducing the react-testing-library 🐐

Two weeks ago, I wrote a new library ! I've been thinking about it for a while. But two weeks ago I started getting pretty serious about it: https://twitter.com/kentcdodds/status/974278185540964352 Read on to get an idea of what I mean by "damaging practices." react-testing-library Simple and…

Read →

When to NOT use Render Props

UPDATE: If you can use react@16.8.0 then the answer is to rarely use render props and almost always use a custom hook. HOOKS ARE ALMOST ALWAYS THE SUPERIOR PATTERN. Read about when you might still use render props 🚨 Announcement: I am now on Patreon! Support these newsletters and other things I…

Read →

But really, what is a JavaScript mock?

This is a great follow-up to But really, what is a JavaScript test? So here we go! Step 0 To learn about mocks we have to have something to test and something to mock, so here's the module we'll be testing today: It's a thumb war game where you play best 2 out of three. It uses a function called…

Read →

Increase your marketability

My heart aches for the dozens of engineer's I've met so far this year who have had such rough luck finding their first full-time job. I'm regularly asked for advice on this subject and I'm afraid the best I can offer is ideas rather than solid experience-based recommendations. (I got my first job…

Read →

Solidifying what you learn

— Ashley Williams on JavaScript Air Episode 001: Learning and Developing JavaScript This quote by Ashley is one of my favorites, I reference it in my talk "Zero to 60 in Software Development: How to Jumpstart Your Career" . I can relate to it because it's been absolutely true in my experience…

Read →