This site runs best with JavaScript enabled.

Hi, I'm Kent C. Dodds. I help people make the world better through quality software.

Kent C. Dodds

Blog

Avoid the Test User

The two users your UI code has are 1) The end user that's interacting with your component and 2) the developer rendering your component. Imagine you have the following UI (taken from my… Read →

Authentication in React Applications

Skipping to the end Here's the secret to this blog post in one short code example: That's it. Most apps which require authentication of any kind can be drastically simplified by that one… Read →

How to optimize your context value

NOTE: I want to add that the times it's important to optimize your context value is when a certain combination of the following conditions are met: Your context value changes frequently Your… Read →

How to use React Context effectively

In Application State Management with React , I talk about how using a mix of local state and React Context can help you manage state well in any React application. I showed some examples… Read →

Application State Management with React

Managing state is arguably the hardest part of any application. It's why there are so many state management libraries available and more coming around every day (and even some built on top… Read →

View all articles

TestingJavaScript.com

Your essential guide to flawless testing.

Jump on this self-paced workshop and learn the smart, efficient way to test any JavaScript application. 🏆

Start Now

DevTips

My YouTube channel where I livestream every weekday about Web Development. Come join me and learn something new.

DevTips

Workshops

Workshops

Talks

Talks

3 Minutes with Kent

3 Minutes with Kent