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

Don't call a React function component

Watch "Fix 'React Error: Rendered fewer hooks than expected'" on egghead.io https://egghead.io/lessons/egghead-fix-react-error-rendered-fewer-hooks-than-expected?pl=kent-s-blog-posts-as-screencasts-eefa540c&af=5236ad I got a great question from Taranveer Bains on my AMA asking: I ran into an…

Read →

Why your team needs TestingJavaScript.com

Dear Boss, Our team has been working hard to make the product serve our customers the best we can. It's been a real challenge. One of our biggest problems is code quality. We let too many bugs slip into production. We care deeply about code quality and good user experience, but right now our testing…

Read →

Inversion of Control

Watch "Implement Inversion of Control" on egghead.io https://egghead.io/lessons/egghead-implement-inversion-of-control?pl=kent-s-blog-posts-as-screencasts-eefa540c&af=5236ad If you've ever built code that was used in more than one place before, then you're likely familiar with this story: You build…

Read →

Understanding React's key prop

Play around with this form: Specifically, try changing the subject, then switch the topic and notice that the value in the input field doesn't change to a more sensible subject. Even if you type something like "My company needs training" and then changing the topic from "Training" to "Question" it…

Read →

How to Enable React Concurrent Mode

Watch "Enable React Concurrent Mode" on egghead.io (part of my Use Suspense to Simplify Your Async UI course) https://egghead.io/lessons/react-enable-react-concurrent-mode?af=5236ad React's new Concurrent Mode has just been published in the experimental release channel . It's the result of…

Read →

How to add testing to an existing project

We've all been there. You're working on an app that was "just a prototype" and was "definitely not going to get shipped this way." Or maybe you didn't have time to prototype it, and you certainly didn't have time to write tests for it. Or perhaps you join a team that's just never tested their code…

Read →

Building the Open Source Community We Want

I've been participating in the creation of open source software since 2012. My first pull request was to fix a typo I saw in a comment of the Java Playframework. It wasn't much, but being my first ever contribution, it was new, exciting, and even a little stressful. And on the same day a…

Read →