Software engineering principles, from Robert C. Martin’s book Clean Code, adapted for JavaScript. This is not a style guide. It’s a guide to producing readable, reusable,...
Continue reading...How to dynamically assign properties to an object in TypeScript
Introduction Consider the following example: This seemingly harmless piece of code throws a TypeScript error on dynamically assigning name to the organization object. An error is...
Continue reading...Data Science
Data is all around us. It is estimated that each day, a staggering 2.5 quintillion bytes of data are created. With a number so mind-boggling, it’s...
Continue reading...Introduction to React useReducer
useReducer is a React Hook that gives us more control over state management than useState, making it easier to manage complex states. I Its basic structure...
Continue reading...Promises in Javascript
What is a Promise? JavaScript is a single-threaded programming language, which means only one thing can happen at a time. Before ES6, we used callbacks to...
Continue reading...