When building forms you have to make sure all fields are filled correctly. There are multiple solutions for this, aside to the basic HTML form validation. One of these options is a library called Yup. This tutorial will show you how to use Yup to create custom form validation for forms build with React.
Class Static Initialization Blocks in JavaScript
Class static initialization blocks are one feature that will be part of the ECMAScript 2022 proposal. This is one of those features you may not use as often. Yet, it can still be useful from time to time. This tutorial will help you learn about what class static initialization blocks are and how to use… Continue reading Class Static Initialization Blocks in JavaScript
7 Practices to Create Good JavaScript Variables
As a developer you work with variables every day. One interesting thing about variables is that they can have a big impact. They can make your work much easier or much harder. This post will show you seven practices that will help you create good JavaScript variables and make your work easier.
4 Important Differences Between Regular And Arrow Functions
Regular and arrow functions are often used interchangeably. Yet, they are not the same. There are some important differences between these two. This tutorial will tell you about four of these differences. This will help you recognize when to use regular functions and when to use arrow functions.
Function Parameters and Arguments in JavaScript
Function parameters and arguments are among the most confusing terms. This post will help you learn about what parameters and arguments are and the difference between them. You will also learn about arguments object, rest and default parameters and value and reference types.
Introduction to Object Types in TypeScript Pt2
TypeScript introduces a new type called “object type”. This type is created specifically for objects and makes it working with them easier. In this tutorial, you will learn about how to extend object types and how to use intersection types. You will also learn how to create object types using generics.