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

Application State Management

Current Available Translations: Korean One of the hardest parts of software development is managing state. Life could be so simple if the user couldn't interact with the application at all, but that sounds like a 90s website and most of us are building interactive applications, so we've got to put…

Read β†’

The state reducer pattern βš›οΈ 🏎

NOTE: I've published an updated version of this blog post with React Hooks ! This last week, @notruth (new code contributor to the downshift project), filed an issue: "closeOnSelection" property (Multiple selection out of box) . All you really need to know about that issue is that the…

Read β†’

Answers to common questions about render props

As I was preparing this article, I was getting ready to give a training to engineers at a local company. They saw my Advanced React Component Patterns course on egghead.io and want to dive deeper into the Render Props pattern. (If you're unfamiliar with the Render Props pattern, I suggest you stop…

Read β†’

React's βš›οΈ new Context API

Curious about what's going to happen to the context API when React hooks are stable? Read all about it here: https://kentcdodds.com/blog/react-hooks-whats-going-to-happen-to-react-context Have you heard of the context API in React? If you've heard of it, are you like many others afraid to use it…

Read β†’

Concerning toolkits πŸ›  πŸ“¦

Current Translations: EspaΓ±ol by Ender Bonnet About a month ago, I roped myself into a conversation about the merits of "zero config" tools when jumped into a twitter thread with this : https://twitter.com/kentcdodds/status/941330985836208128 There were some dissenting opinions about this…

Read β†’

Spelunking in node_modules πŸ‘·

This last week I started work again after over a month away. What's the first thing you do when you get back from that long away? Why, upgrade dependencies of course! In particular, this was for my kcd-scripts and paypal-scripts projects. Of note, Rollup, Jest, and lint-staged each received a few…

Read β†’

Building Production Apps 100% in the browser

Earlier, I mentioned that I made two apps for my family. The first is Typing for Kids which I made for my two oldest children, the second is Repeat Todo which I made for my wife. Today I want to briefly talk about how I went about creating these apps as a way to reiterate how awesome it is to…

Read β†’