Typescript

thumbnail
Design Patterns - Unit of Work Pattern in TypeScript using MikroORM

Before you look at the Unit of Work pattern example in TypeScript using MikroORM, you can see my post about what is the Unit of Wo...

thumbnail
Design Patterns - Repository Pattern in TypeScript using MikroORM

Before you look at the Repository pattern example in TypeScript using MikroORM, you can see my post about what is the Repository p...

thumbnail
Domain-Driven Design - Aggregate Roots in TypeScript

Before you look at the Aggregate Roots example in TypeScript, you can see at my post on what Aggregate Roots are in Domain-Driven ...

thumbnail
Domain-Driven Design - Entities in TypeScript

Before you look at the Entities example in TypeScript, you can see at my post on what Entities are in Domain-Driven Design. Entity...

thumbnail
Domain-Driven Design - Value Objects in TypeScript

Before you look at the Value Objects example in TypeScript, you can see at my post on what Value Objects are in Domain-Driven Desi...

thumbnail
Check objects deep equality in TypeScript

When we use the equality operators to compare objects, we are only comparing them by reference, so it returns true only when they ...

thumbnail
React - Configure ESLint and Prettier in a React project

ESLint is a tool that analyzes the project code following defined rules. Prettier is a code formatter, it has rules that the proje...

thumbnail
React - Create project with TypeScript and Yarn

TypeScript has advantages over JavaScript, such as strict typing, so using TypeScript in React is very useful. Requisites TypeScri...

thumbnail
Constructors access level

The class constructor is invoked when the keyword new is used to create a new class instance. Constructors usually have parameters...

thumbnail
Design Patterns - Static Factory Method Pattern in TypeScript

Before you look at the Static Factory Method pattern example in TypeScript, you can see my post about what is the Static Factory M...