Branded types in TypeScript allow us to write code more clearly, provide more type-safe solutions, and maintain our code more efficiently.
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.
Explore type casting in TypeScript, concepts like the subtype and super type relationships, and type widening and type narrowing.
Record
typesExplore how to use the TypeScript Record type alongside practical use cases, including how to use it with generics.
Explore how to configure path aliases in a React and TypeScript app for cleaner imports, organization, and maintainability.
Many modern web developers are embracing emerging technologies that improve the speed of development as well as the quality of […]
Explore Shadcn UI, a reusable component collection. See its features, pros, cons, and more to determine if you should use it in your project.
In this article, we will take a deep dive into understanding the dependency inversion principle in TypeScript.
Use TypeScript generic types to create reusable components, ensure type safety, and make your code more readable in this post.
infer
in TypeScriptThe infer keyword and conditional typing in TypeScript allow us to take a type and isolate it for later use. Learn more here.
TypeScript decorators allow you to calculate execution time, perform runtime type assertion, guard against errors, and much more.
StyleX is a build-time, type-safe CSS-in-JS library recently open sourced by Meta. Explore StyleX and the evolution of styling libraries.