Naming conventions are guidelines or rules used to define the names of variables, functions, classes, and other identifiers in software development. Consistently following naming conventions makes cod...
TypeScript
Getting Started with React: Creating a Component-Scoped Context with TypeScript
A component-scoped context is designed to be used within a specific component tree, providing a convenient way to manage state or pass data to nested components instead of using prop drilling. This ap...
Mastering TypeScript: What’s The Correct Type For setInterval()?
The setInterval() method calls a function at specified intervals (in milliseconds). To cancel an interval, use the id returned from setInterval() method. Here are three solutions to write the setInter...
Mastering TypeScript: What’s the Correct Type for setTimeout()?
The setTimeout function in TypeScript is used to delay the execution of a function by a specified number of milliseconds. Here are three solutions to write the setTimeout type in TypeScript. Replace &...
TypeScript Free Online Course
Welcome to my TypeScript course, designed to provide a learning experience for developers at any level. The course is divided into two main sections. The first section, “Getting Started with TypeScr...
Mastering TypeScript: A Free Online Course
This online course is organized into individual articles, each dedicated to the topics of Mastering TypeScript.
Getting Started With TypeScript: A Free Online Course
This online course is organized into individual articles, each dedicated to the topics of Getting Started With TypeScript.
Getting Started With TypeScript: Void Return Type
The void type represents the absence of having any type at all. It’s commonly used to indicate that a function does not return a value. When you declare a function with a void return type, it me...
Mastering TypeScript: Exploring the Void Return Type
Now, we will explore TypeScript’s void return type through two interfaces, ITest1 and ITest2. We’ll examine how it defines functions that don’t return a value and explore potential p...
Getting Started With React: Simplifying Components Communication With Prop Drilling Pattern
Prop drilling is regarded as a pattern in React development. It’s a common approach for passing data from a parent component to a deeply nested child component when other methods like context or...