Components in React

React, a JavaScript library for building user interfaces, relies heavily on the concepts of components and props to create modular and reusable code. Let’s explore these fundamental concepts. Components: What is a Component? In React, a component is a self-contained, reusable building block that encapsulates a piece of the user interface and its behavior. Components…


“This” Keyword in Javascript

“This” keyword in javascript is a constant source of confusion. The value of this depends on where it is getting called. “This” is not a reference to the function nor a reference to the lexical scope. It is a binding that is done while calling the function. Here, the value of “this.a” depends on where…


SSR, CSR, and Progressive Rendering

In this post, I will be covering different types of rendering. To understand rendering and its pros and cons. We must know when a user lands on a page. The page is visible when the HTML is rendered. The page becomes interactive when javascript execution is complete. Server-Side Rendering In Server Side Rendering, the HTML…