Recent Posts

Create new React App with TypeScript Template

How to create a new React App using TypeScript with help of npx create-react-app. We can easily create...

TypeScript: Generic type definitions

Generic type definitions in TypeScript are useful in certain cases with function definitions. In some cases the function...

TypeScript: Type Definition for Functions

In typescript, we have to define types for a function definition. It may include type definitions for function...

TypeScript: Type Alias – to avoid duplicate type definitions

To avoid duplication or repeated type definitions, we have the type alias in TypeScript. We can do this...

TypeScript: Union Types – Multiple types for a variable

Union Type definition in TypeScript allows us to have multiple types for a variable. For example, we can...

Type Inference inTypeScript – Defining Inferred type

TypeScript tries to infer as many types as possible by default in certain cases. It tries to know...

TypeScript Type definition, examples for Beginners – React, Node

Lets look into basic types in typescript and its common usages with examples. We will be checking out...

React JS : Save Data in Local Storage, Get Data

How to save data to browser storage in our React JS App. If we are storing the data...

Terminal Command to check Current React Version

Check the current version of React installed in the system using the terminal command. npm command that can...

How to use Roboto-Bold Font in CSS

Use the Bold variant of Robot Font in CSS for web. Add Roboto font to the webpage style...