But really, what is a JavaScript test?
A guide explaining what JavaScript tests are by building a simple testing framework from scratch for pure functions.
KentCDodds.com is the personal website and blog of Kent C. Dodds, a software engineer, educator, and open-source contributor known for his work in the React ecosystem. He writes about modern web development, testing, accessibility, performance, and developer experience, focusing on how to build reliable, maintainable, and scalable applications. Kent is the creator of popular libraries such as Testing Library and Remix, and his articles often highlight practical approaches to writing better React components, handling state, and improving user experience. Beyond tutorials, the site features courses, workshops, podcasts, and conference talks, all aimed at helping developers learn by doing. With his teaching-first philosophy and clear explanations, KentCDodds.com has become one of the most trusted learning resources in the React and JavaScript community.
189 articles from this blog
A guide explaining what JavaScript tests are by building a simple testing framework from scratch for pure functions.
A guide on testing React components that use render prop components, covering integration and E2E testing strategies.
A preview of an 'Advanced React Component Patterns' course, covering patterns like Compound Components and Higher Order Components.
Announcing two new React video courses: a free beginner's guide and an advanced patterns course available via subscription on egghead.io.
A developer shares his family's Christmas traditions, homemade gifts, and the importance of service, inspired by his faith.
The author announces and details their new 'Beginner's Guide to ReactJS' course, focusing on teaching React fundamentals with a simple, no-tooling approach.
Tips for giving effective software demos, including starting with 'why', knowing your audience, and pre-recording.
A guide on how to become an open source project maintainer by contributing to existing projects you use, without needing permission.
A developer explores a hacky React solution for handling errors in a custom i18n library's 'sorta-curried' API.
A developer shares techniques for improving module usability, focusing on removing side-effects from imports in a custom i18n solution.
A developer critiques snapshot testing, arguing it creates unclear tests that erode team trust and are often blindly regenerated when they fail.
Using babel-plugin-codegen to create a build-time workaround for a UMD bundle issue with glamorous and React 16.
Explains the prop getters pattern in React, using downshift and react-toggled as examples to give users rendering control.
Introducing paypal-scripts, a zero-config tool for PayPal developers inspired by create-react-app to boost productivity.
Introducing downshift, a React library using render props to build flexible and accessible autocomplete/combobox components.
The article compares classes and functions in JavaScript, arguing that functional programming leads to simpler, more maintainable code.
Introducing glamorous, a React component styling library with a small footprint and elegant API, created to solve specific development needs.
A developer shares tips and code examples for creating a command-line interface (CLI) tool using Node.js, yargs, and Jest.
A developer's journey from advocating for the AVA testing framework to migrating to Jest due to performance issues and limitations.
The author announces the end of the JavaScript Air podcast, explaining the personal reasons behind the decision to stop producing new episodes.