Tag: typescript

TypeScript logo over a pink and white background.

Drizzle vs. Prisma: Which ORM is best for your project?

Dev

Compare Prisma and Drizzle ORMs to learn their differences, strengths, and weaknesses for data access and migrations.

Temitope Oyedele
Nov 21, 2024 ⋅ 10 min read
TypeScript Enums Vs. Types: Enhancing Code Readability

TypeScript enums vs. types: Enhancing code readability

Dev

Discover how TypeScript enums work, compare them to types and constants, and explore how to use them in your next project.

Nwose Lotanna
Nov 12, 2024 ⋅ 11 min read
How to set up TypeScript with Node.js and Express

How to set up TypeScript with Node.js and Express

Dev

Explore how to integrate TypeScript into a Node.js and Express application, leveraging ts-node, nodemon, and TypeScript path aliases.

Aman Mittal
Nov 7, 2024 ⋅ 10 min read
Angular Unit Testing Tutorial With Examples

Angular unit testing tutorial with examples

Dev

This tutorial demonstrates building an Angular app and writing a unit test, testing an async operator, and automatically generating unit tests.

Mesh Seun
Nov 5, 2024 ⋅ 12 min read
Understanding The Dependency Inversion Principle In TypeScript

Understanding the dependency inversion principle in TypeScript

Dev

Implement the dependency inversion principle in TypeScript for maintainable, scalable code with dependency injection, abstraction layers, and practical examples.

Samuel Olusola
Oct 25, 2024 ⋅ 11 min read
How To Build A Component Library With React And TypeScript

How to build a component library with React and TypeScript

Dev

In this article, we’ll learn what a component library is and how to build a custom component library using React and TypeScript.

Yan Sun
Oct 23, 2024 ⋅ 13 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
Oct 21, 2024 ⋅ 6 min read
Logos of VineJS and Zod side by side on a green leaf background, representing a comparison between these schema validation libraries.

VineJS vs. Zod for schema validation

Dev

Explore performance and features of VineJS and Zod for schema validation, with comparisons to other libraries like Yup.

Oghenetega Denedo
Oct 15, 2024 ⋅ 9 min read
Understanding And Using Interfaces In TypeScript

Understanding and using interfaces in TypeScript

Dev

Explore TypeScript interfaces, which define contracts for objects, functions, and classes, ensuring type safety and consistency.

Ankita Masand
Oct 3, 2024 ⋅ 19 min read
How To Dynamically Assign Properties To An Object In TypeScript

How to dynamically assign properties to an object in TypeScript

Dev

Dynamically assign properties to TypeScript objects using the `Record` and `Partial` utility types, optional object properties, and more.

Ohans Emmanuel
Oct 1, 2024 ⋅ 9 min read
Using The React Children Prop With TypeScript

Using the React children prop with TypeScript

Dev

Explore best practices for typing `children` props in TypeScript in both functional and class-based components.

Ohans Emmanuel
Sep 13, 2024 ⋅ 7 min read
Linting In TypeScript Using ESLint And Prettier

Linting in TypeScript using ESLint and Prettier

Dev

Automate type checking in your TypeScript code and ensure that the code has no bugs by integrating Prettier with ESLint.

Paul Ccari
Sep 12, 2024 ⋅ 10 min read