Gideon Idoko

#typescript   (4 posts)

Getting a Hold of Mixins in TypeScript cover image

Getting a Hold of Mixins in TypeScript

Jan 16, 2023  |  6 mins read  |  Gideon Idoko

A mixin in TypeScript is a pattern that uses generics and inheritance to extend or add to the functionality of a class. In essence, mixins allow more functionality to be “mixed in" to a class....

First Look Into Writing Unit Tests in React cover image

First Look Into Writing Unit Tests in React

Sep 21, 2022  |  14 mins read  |  Gideon Idoko

Unit and integration testing are the most basic and popular types of software testing. While unit testing asserts that the functionality of a small part or individual components of an application ...

A Deep Dive into Utility Types in TypeScript cover image

A Deep Dive into Utility Types in TypeScript

May 22, 2022  |  14 mins read  |  Gideon Idoko

Utility types are helper generic types that can be used to create new types. Basically, utility types take other types as parameters and transform them into new types. TypeScript has some built-in...