2022 in Review

Another year has come and gone. This is my annual look back at the headline grabbing news events of the past 12 months tells the story in tech.

Dec 29, 2022#blog#career

What's New in Swift 5.8

This release includes features like implicit self for weak self captures, conditional compilation for attributes, new type StaticBigInt in standard library, and more.

How to Mimic Nominal Typing in TypeScript

You can overcome drawbacks of structural typing in TypeScript by creating nominal types with a little bit of extra code.

Different Types of Queue

Queues are specifically designed to operate in a FIFO context, where elements are inserted into one end of the container and extracted from the other.

Latest Updates on React 18

Expecting opt-in out-of-the-box improvements like automatic batching, concurrent features, and new Suspense SSR architecture.

Mar 13, 2022#react#react-18

React Component Patterns

Essential design patterns to create React components like hooks, provider, context, render props, higher order components, or compound components.

Mar 12, 2022#react#patterns

TypeScript Structural Typing

If the type is shaped like a duck, it is a duck. If a goose has all the same attributes as a duck, then it also is a duck.

TypeScript Type Aliases vs Interfaces

The key distinction is that a type cannot be re-opened to add new properties vs an interface which is always extendable.

Mar 08, 2022#typescript

React Event Handling

Handling events in React is simple but you have to careful about context inside event handlers because JavaScript class method not bound by default.

Feb 17, 2022#react#javascript

Cracking the Frontend Interview, Part 1: Overview

What to focus technically when preparing for the frontend developer interview.