Promises in JavaScriptPromise is an another way of handling asynchronous operations in JavaScript and they are much better than Callbacks. As we studied in the previous article that callbacks have two major problems Callback Hell and Inversion of Control. Using Promises c...Feb 1, 2025·10 min read·10
Variable Declarations in JavaScriptIn JavaScript, variables can be declared in 3 different types, which are var, let and const. We have already covered var declarations, now we’ll be covering the remaining two. NOTE: Let & Const declarations are also hoisted but they are hoisted d...Jan 16, 2025·6 min read·5
Exploring Props Drilling, Lifting State Up, and Higher Order ComponentsHigher Order Components Higher order components are the javascript functions that takes a component as an input, modifies it or add some features in it and return it as a component. It’s a function that takes a component as an input and returns a new...Jan 15, 2025·10 min read·14
Scopes in JavaScriptWhat is the smallest JavaScript Program ? The smallest/shortest program in javascript is an empty file. Even though the file is empty and there is nothing to execute, Still JavaScript Engine do a lot of things behind the scenes. A global execution co...Jan 15, 2025·5 min read·5
How JavaScript Works ?Execution Context Everything in JavaScript happens inside the Execution Context, It can be assumed as a container inside which the whole JavaScript program runs. What is an Execution Context ? Execution Context is like a big box and it has two compon...Jan 14, 2025·7 min read·7
Optimizing a React AppBefore we start, What is Single Responsibility Principle ? It is an important principle in Computer Science Engineering. It means if you have a function or a class or any single identity of your code then it should have just a single responsibility....Jan 14, 2025·4 min read·12
Routing in ReactWhat is Routing in React ? React Routing is the process of managing navigation and rendering components based on the URL in a React application. It allows Single Page Applications (SPAs) to display different pages or views dynamically without reloadi...Dec 18, 2024·11 min read·20