The good old reduce and problems with it in TypeScript
August 07, 2021Once and forever understand why `reduce` types always give you strange errors and how you can solve this issue.
Once and forever understand why `reduce` types always give you strange errors and how you can solve this issue.
Learn how to create a promise polyfill from scratch.
In this article you are going to learn how to correctly type event listeners in TypeScript.
In this article, I'm going to explain to you what is type distribution and how it can help you to write type safe code.
In this article, I'll try to explain to you how to achieve a correct type inference in multi-argument generic functions.
In these series of articles I'm going to show you how to write type-safe get and set functions
In these series of articles I'm going to show you how to write type-safe get and set functions
In this post, we gonna discuss how to correctly useRef in concurrent mode to avoid bugs.
In this article, we gonna discuss why you should always use readonly arrays in your generics.
How to create a `useDebounce` hook in React.