WRITING

Another part of the internet where I share stuff I think I (don't) know...

Browse writing by tag
January 16th, 2023  —  6 min read
#typescript

Getting a Hold of Mixins in TypeScript

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.

September 21st, 2022  —  14 min read
#react

First Look Into Writing Unit Tests in React

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 is working fine, integration testing ensures that the unique pieces still work fine when integrated together.

August 3rd, 2022  —  3 min read
#react

The flushSync Method in React

React batches multiple state updates made within hooks or callbacks to improve the performance of applications. flushSync is a method made available by the react-dom package that helps to bypass the default state update batching.

July 12th, 2022  —  7 min read
#designpatterns#typescript

Singleton, Prototype & Builder Design Patterns in TypeScript

Design Patterns as a set of tried and tested high-level solutions define a common language for efficient communication amongst engineering teammates.

May 22nd, 2022  —  14 min read
#typescript

A Deep Dive into Utility Types in TypeScript

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 utility types which we are going to discuss in this article.

Loading more writing...