Tag: typescript

Leveraging Typescript Branded Types For Stronger Type Checks

Leveraging TypeScript branded types for stronger type checks

Dev

Branded types in TypeScript allow us to write code more clearly, provide more type-safe solutions, and maintain our code more efficiently.

Rashedul Alam
Jul 16, 2024 ⋅ 5 min read
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
How To Perform Type Casting In TypeScript

How to perform type casting in TypeScript

Dev

Explore type casting in TypeScript, concepts like the subtype and super type relationships, and type widening and type narrowing.

Paul Akinyemi
Jun 24, 2024 ⋅ 9 min read
Level Up Your TypeScript With Record Types

Level up your TypeScript with Record types

Dev

Explore how to use the TypeScript Record type alongside practical use cases, including how to use it with generics.

Matteo Di Pirro
Jun 10, 2024 ⋅ 9 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
Shadcn Ui Component Collection Adoption Guide: Overview, Examples, And Alternatives

Shadcn UI adoption guide: Overview, examples, and alternatives

Dev

Explore Shadcn UI, a reusable component collection. See its features, pros, cons, and more to determine if you should use it in your project.

Nefe Emadamerho-Atori
May 10, 2024 ⋅ 9 min read
Understanding The Dependency Inversion Principle In TypeScript

Understanding the dependency inversion principle in TypeScript

Dev

In this article, we will take a deep dive into understanding the dependency inversion principle in TypeScript.

Samuel Olusola
May 2, 2024 ⋅ 11 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
Understanding Infer In TypeScript

Understanding infer in TypeScript

Dev

The infer keyword and conditional typing in TypeScript allow us to take a type and isolate it for later use. Learn more here.

Simohamed Marhraoui
Apr 19, 2024 ⋅ 7 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