Tag: typescript

How To Extend The Express Request Object In TypeScript

How to extend the Express Request object in TypeScript

Dev

Let’s learn how to extend the Request type in TypeScript to make its instances store custom data you can use at the controller level.

Antonello Zanini
Jul 8, 2024 ⋅ 14 min read
Using Path Aliases For Cleaner React And TypeScript Imports

Using path aliases for cleaner React and TypeScript imports

Dev

Explore how to configure path aliases in a React and TypeScript app for cleaner imports, organization, and maintainability.

Oghenetega Denedo
May 31, 2024 ⋅ 6 min read
Rescript Vs Typescript Overview And Comparison

ReScript vs. TypeScript: Overview and comparison

Dev

Many modern web developers are embracing emerging technologies that improve the speed of development as well as the quality of […]

Clara Ekekenta
May 13, 2024 ⋅ 7 min read
Using TypeScript Generics To Create Reusable Components

Using TypeScript generics to create reusable components

Dev

Use TypeScript generic types to create reusable components, ensure type safety, and make your code more readable in this post.

Ishan Manandhar
Apr 24, 2024 ⋅ 10 min read
A Practical Guide To TypeScript Decorators

A practical guide to TypeScript decorators

Dev

TypeScript decorators allow you to calculate execution time, perform runtime type assertion, guard against errors, and much more.

Rahman Fadhil
Mar 21, 2024 ⋅ 12 min read
Exploring Stylex And The New Generation Of Styling Libraries

Exploring StyleX and the new generation of styling libraries

Dev

StyleX is a build-time, type-safe CSS-in-JS library recently open sourced by Meta. Explore StyleX and the evolution of styling libraries.

Ibadehin Mojeed
Feb 29, 2024 ⋅ 9 min read
Configuring Nodemon With TypeScript

Configuring nodemon with TypeScript

Dev

Read about three different ways you can configure nodemon with TypeScript — and explore three alternatives to nodemon for other use cases.

Cole Gawin
Feb 27, 2024 ⋅ 10 min read
Typescript Logo Over an Open Book

Building a type-safe dictionary in TypeScript

Dev

This article provides a comprehensive guide on creating type-safe dictionaries in TypeScript to enhance code reliability and reduce errors.

Gapur Kassym
Feb 20, 2024 ⋅ 9 min read
Comparing Typescript State Management Solutions

Comparing TypeScript state management solutions

Dev

Dealing with state management in TypeScript provides benefits like type safety, code formatting, and error management.

Rashedul Alam
Feb 2, 2024 ⋅ 17 min read
Exploring Effect A Meta State Rxjs Like Framework For Writing Typescript

Exploring Effect, a meta-state RxJS-like framework

Dev

The Effect library helps you better handle async code, types in async scenarios, and errors in TypeScript projects. Let’s see how.

Isaac Okoro
Jan 17, 2024 ⋅ 6 min read
How To Use Type Guards In TypeScript

How to use type guards in TypeScript

Dev

TypeScript uses built-in JavaScript operators like `typeof`, `instanceof`, `in`, and `is`, which are used to determine if an object contains a property.

Oyinkansola Awosan
Jan 15, 2024 ⋅ 6 min read
Leveraging TypeScript Domain-Driven Design

Leveraging TypeScript for domain-driven design

Dev

We explore the main principles and guidelines of domain-driven design and see how TypeScript can assist with DDD.

Matteo Di Pirro
Jan 4, 2024 ⋅ 5 min read