This site runs best with JavaScript enabled.
Kent C. Dodds
Blog
Workshops
Podcast
Courses
Discord
About
178
javascript
typescript
react
open source
review
career
node
css
testing
programming
teaching
productivity
state
performance
learning
personal
If you can't find what you're looking for with this, try
using Google
.
Super Simple Start to ESModules in Node.js
Copy URL
All supported versions of Node.js support ESModules now. Here's how to get started using them.
JavaScript Pass By Value Function Parameters
Copy URL
How it works and how to work with it... and around it
How to write a Constrained Identity Function (CIF) in TypeScript
Copy URL
A handy advanced TypeScript pattern to increase your productivity.
How to optimize your context value
Copy URL
Why and how you can optimize your context provider's value to avoid performance issues
How to use React Context effectively
Copy URL
How to create and expose React Context providers and consumers
How to write a React Component in TypeScript
Copy URL
There are plenty of ways to do it, here's how I recommend typing React Components
TypeScript Function Syntaxes
Copy URL
The syntax for various functions and function types in TypeScript with simple examples.
Listify a JavaScript Array
Copy URL
Make a human readable list from an array in JavaScript.
Build vs Buy: Component Libraries edition
Copy URL
Some things to think about before you decide to create your own component library.
Using fetch with TypeScript
Copy URL
How to make HTTP requests with fetch and TypeScript
Oh? You wanna scroll do you? Rendering all the posts...