Filtering Unions in TypeScript
A short post on how to extract specific values from a union.
A short post on how to extract specific values from a union.
Some advanced TypeScript patterns and features that I find useful.
The final part of my series on optimizing React components, I go over some techniques to minimize having to use memoization.
In this part, I go over how memoization (memo, useMemo and useCallback) can be used to optimize an example application.
In this first part of a series on how the performance of React components can be optimized, I go over the basics of what happens when a React component renders.