Monthly Archives: May, 2021
React
Why does React state need a new object/array?
If you have been using React for a while, you are familiar with how state update works. There are a lot of...
TypeScript
Using utility types for transforming TypeScript types
TypeScript provides some built-in utility types that help facilitate transformations of types from one form to another.These utilities...
TypeScript
TypeScript: the difference between interface and type
Once we start exploring TypeScript, we start using interfaces and types without really understanding the differences between them. I am guilty of...