TypeScript

TypeScript

How I generate UUIDs in TypeScript for development stages.

We need to use UUIDs for child items in list components. I prefer to use the most simple and performant way to generate GUID-like unique identifiers for development stages.

Read
TypeScript

Strings in TypeScript

You can use single quotes, double quotes, and backticks/backquotes to surround string data in TypeScript.

Read
TypeScript

const, let, var in TypeScript

There are three options to declare variables in TypeScript - const, let, and var. There are some points about these declarations.

Read
TypeScript

How to use Type Inference in TypeScript

We can use two options to define types in TypeScript - explicit typing and implicit typing. In most cases, the Type Inferences works fine, but there are some cases where we need to use explisity typing.

Read