Avoid Prop Drilling using Composition
In react when we pass a props down to its children, we like to use Context/Redux, this is not wrong but we don’t need to use this every time if parent has a small amount of children or child components.
In react when we pass a props down to its children, we like to use Context/Redux, this is not wrong but we don’t need to use this every time if parent has a small amount of children or child components.
Streams are core concept of nodejs. Streams are data (array or object), they do not process all at once rather than piece by piece.
The Intl object provides access to several constructors, each of them allows to do string comparison, number formatting and date and time formatting.
An expression is any valid set of literals, variables, operators that evaluates to a single value.
In JavaScript undefined & null sound like same, but they are different.
JavaScript is a prototype based language. The term Prototype is another important topic of JavaScript. Without knowing it, we can’t understand the underlying structure of a reference typed JavaScript code.
In computer science there is a term I always wanted to know deep about it and it is called AST(Abstract Syntax Tree)…
In es2019 and TypeScript 3.7 we got two new way to check nullish value(null, undefined), these are Optional Chaining & Nullish Coalescing.
In TypeScript Generics allows us to pass a range of types to a function or component. We can call it Abstract Type.
TypeScript allows us to make an individual property readonly. When we use readonly, we can’t assign them with other variables, can’t update or delete.