Using TypeScript in Node.js projects
TypeScript is tremendously helpful while developing Node.js applications. Let's see how to configure it for a seamless development experience. Setting up…
TypeScript is tremendously helpful while developing Node.js applications. Let's see how to configure it for a seamless development experience. Setting up…
TL; DR: No. Please add to your file: But, why? The directory is where your package manager (that can be npm, yarn or pnpm) will install all the project…
JSX is an excellent abstraction for building web interfaces. Introduced by Facebook and popularized by React, it's an extension of JavaScript designed to…
You can create hashes in Node.js without the need to install any external library. Usually, I create the following utility function in the projects I work…
First described in the classic geometry book Elements, by the ancient Greek mathematician Euclid (ca. 300 BC, at the book VII, proposition 2), the method…
Consider the following function that calculates the factorial of a number: Factorial In Mathematics, the factorial of a non-negative integer (n!) is the…
Using custom dialog elements instead of native browser implementations, such as , , or , has become the standard for web development for quite some time…
Since ) is pratically universally supported on the most used web browsers, we may safely drop the use Axios and other similar libraries in favor of . In…
In computer science, a first-class citizen is an entity that supports all operations available to other entities. Some of the available operations are: -…
Recently, I created a package with the ESLint settings I like to use in my React projects, as I was tired of always having to configure it when I start…
Have you ever faced the situation where the layout of your beautifully crafted interface "breaks" if the image (depeding on the quality of your user's…
Most of the work needed to create custom HTML elements that fit the design system of your company resides styling and adding your own props. So, let's say…