How (and when) to use useMemo() and useCallback()
Many React developers struggle to understand the difference between useMemo() and useCallback() and when to use each of these hooks. In this blog post I'll try to explain this and make it a bit clearer for you.
24 January 2023
When to use Promise.allSettled() and how is it different from Promise.all()?02 January 2023
Would you want to launch multiple Promises and wait until ALL of them have finished, but not lose resolved ones if some fail ?
User Defined Type Guards in TypeScript13 November 2022
A Type Guard is a technique used to test if a value is of a specific type.
Exhaustive checking in TypeScript using 'never' type30 October 2022
Type 'never' helps you with exhaustive checking in TypeScript...
Many friends are asking me how I started my coding career 7 years ago...