blog.

  • ECMAScript vs JavaScript vs TypeScript

    Tuesday, Mar 5, 2024

    The differences between ECMAScript, JavaScript and TypeScript

    Read More
  • A Comprehensive Guide to the typeOf Operator in Typescript

    Thursday, Feb 29, 2024

    A guide to "typeof", and what it means for JavaScript vs TypeScript

    Read More
  • How to Detect Null and Undefined in Your TypeScript Code

    Tuesday, Feb 27, 2024

    Let's explore the many ways TypeScript provides to check for null and undefined.

    Read More
  • TypeScript Enums Made Simple

    Wednesday, Jan 24, 2024

    Dive into the controversial topic of TypeScript Enums.

    Read More
  • Lifting State Up in React

    Tuesday, Feb 13, 2024

    An introduction to "lifting state up", a common pattern you'll be using daily in React.

    Read More
  • Typescript 5.4 Beta’s New GroupBy Methods

    Wednesday, Feb 14, 2024

    TypeScript 5.4 adds declarations for JavaScript’s new Object.groupBy and Map.groupBy static methods. Let's take a look.

    Read More
  • A Quick Guide to Clamping Numbers in JavaScript

    Thursday, Feb 8, 2024

    JavaScript doesn't include a built-in Math.clamp, but luckily that's easy to solve.

    Read More
  • The Best Way to Handle Promises in React

    Tuesday, Feb 6, 2024

    Promises are an essential feature of asynchronous JavaScript, but if you want to integrate them into React, there's some rules to follow.

    Read More
  • Typescript Non-Null Assertions: That Weird Exclamation Mark Operator

    Friday, Feb 2, 2024

    Learn about the non-null assertion operator, or that weird exclamation mark you might be seeing in TypeScript.

    Read More
  • A Comprehensive Guide to Converting Between Strings, Booleans and Numbers in Typescript

    Thursday, Feb 1, 2024

    A comprehensive guide on how to convert between strings, numbers and booleans in TypeScript

    Read More
  • Understanding ”As Const” in TypeScript

    Wednesday, Jan 31, 2024

    An introduction to const assertions, a great, lesser documented feature in TypeScript

    Read More
  • How to Iterate Over Objects in TypeScript

    Tuesday, Jan 30, 2024

    How to iterate through objects in TypeScript, and things to watch out for.

    Read More
  • How to Conditionally Add a Property to an Object or Array in JavaScript

    Monday, Jan 29, 2024

    A common problem in JavaScript is how to conditionally add properties to your objects/arrays. Let's go through some handy shortcuts.

    Read More
  • The Best Way to Format Percentages in JavaScript

    Monday, Jan 29, 2024

    Formatting percentages is a common problem you'll run into in your JavaScript apps. In this article we'll talk through two approaches - the manual way, and the relatively new built-in methods for handling percentages in JavaScript.

    Read More
  • 3 Simple Ways to Merge Objects in TypeScript

    Friday, Jan 26, 2024

    Learn 3 simple approaches to merging objects in TypeScript

    Read More
  • Demystifying TypeScript's Double Question Mark: Nullish Coalescing

    Thursday, Jan 25, 2024

    An introduction to the double question marks in TypeScript, aka the nullish coalescing operator.

    Read More
  • Switching it Up: TypeScript Switch Statements

    Tuesday, Jan 23, 2024

    Explore the versatility of TypeScript's switch statements, from fundamentals to advanced usage.

    Read More
  • Understanding "as unknown as" in TypeScript

    Monday, Jan 22, 2024

    The "as unknown as" cast - a little trick to convert between types TypeScript thinks you shouldn't be able to convert between.

    Read More
  • Demystifying TypeScript: The Difference Between == and === Explained

    Friday, Jan 19, 2024

    In TypeScript, the choice between "==" and "===" for equality comparison is more than just a matter of syntax—it holds significant implications for code behaviour.

    Read More