Dan Vanderkam Dan is a Principal Software Engineer at Sidewalk Labs and the author of Effective TypeScript: 62 Specific Ways to Improve Your TypeScript (O'Reilly 2019). He blogs regularly at effectivetypescript.com.

Stories by Dan Vanderkam

Repeat yourself a little less: strategies for mitigating prop drilling with React and TypeScript

Strategies for mitigating prop drilling with React and TypeScript

Dev

Prop drilling is one of the most common gripes with React. You add a prop or event in a component way down the hierarchy and you’re forced to add it to every parent component as well.

Dan Vanderkam
Sep 23, 2020 ⋅ 12 min read

How TypeScript breaks referential transparency

Dev

Have you ever factored out a constant in TypeScript, only to have the type checker start reporting some mysterious errors? […]

Dan Vanderkam
Jan 23, 2019 ⋅ 5 min read