Avoid Nesting when you're Testing

Why using hooks like beforeEach as a mechanism for code reuse leads to unmaintainable tests and how to avoid it. | Continue reading


@kentcdodds.com | 1 year ago

When to UseMemo and UseCallback

Performance optimizations ALWAYS come with a cost but do NOT always come with a benefit. Let's talk about the costs and benefits of useMemo and useCallback. | Continue reading


@kentcdodds.com | 2 years ago

Use ternaries rather than and& in JSX

What problems can happen when you use && to conditionally render content in JSX | Continue reading


@kentcdodds.com | 2 years ago

Remix

I've written tens of thousands of lines of code with Remix and I want to tell you why I love using this framework. | Continue reading


@kentcdodds.com | 2 years ago

I built a modern website in 2021 – Kent C. Dodds

I rewrote kentcdodds.com using the latest technologies and I want to talk about what I did. | Continue reading


@kentcdodds.com | 2 years ago

Common Mistakes with React Testing Library

Some mistakes I frequently see people making with React Testing Library. | Continue reading


@kentcdodds.com | 2 years ago

Don't Solve Problems, Eliminate Them

How eliminating problems can drastically simplify your codebases and life | Continue reading


@kentcdodds.com | 2 years ago

Write tests. Not too many. Mostly integration

Guillermo Rauch tweeted this a while back. Let's take a dive into what it means. | Continue reading


@kentcdodds.com | 2 years ago

JavaScript Closures

How JavaScript Closures work | Continue reading


@kentcdodds.com | 3 years ago

Build vs. Buy: Component Libraries Edition

Some things to think about before you decide to create your own component library. | Continue reading


@kentcdodds.com | 3 years ago

Where to put React state (diagram)

Continue reading


@kentcdodds.com | 3 years ago

First Timers Only

A suggestion to Open Source project maintainers... | Continue reading


@kentcdodds.com | 3 years ago

Stop Mocking Fetch

Why you shouldn't mock fetch or your API Client in your tests and what to do instead. | Continue reading


@kentcdodds.com | 3 years ago

Stop using client-side route redirects

Why you should stop using client-side route redirects (like the from prop on React Router's Redirect component) and what you should do instead. | Continue reading


@kentcdodds.com | 4 years ago

Stop Using IsLoading Booleans

Why using a status enum (or even better: a state machine) will help your app stay bug free | Continue reading


@kentcdodds.com | 4 years ago

Make Your Test Fail

If you're not careful you can write a test that's worse than having no tests at all | Continue reading


@kentcdodds.com | 4 years ago

Inversion of Control: Principle to improve your reusable code

A simple principle that can drastically improve your reusable code | Continue reading


@kentcdodds.com | 4 years ago

Maintainability Through Colocation

Maintainability through colocation | Continue reading


@kentcdodds.com | 4 years ago

JavaScript to Know for React

What JavaScript features you should be familiar with when learning and using React | Continue reading


@kentcdodds.com | 4 years ago

Aha Programming

The dangers of DRY, the web of WET, the awesomeness of AHA. | Continue reading


@kentcdodds.com | 4 years ago

Application State Management with React

How React is all you need to manage your application state | Continue reading


@kentcdodds.com | 5 years ago