How does the web work? What happens when you hit enter a URL?When you enter a URL (Uniform Resource Locator) into your web browser and hit enter, a series of events takes place behind the scenes that ultimately leads to the display of the requested website. DNS (Domain Name System) Resolution: The first step ...Jan 26, 2023·3 min read
Understanding Redux with Counter AppWhat is Redux 💡 Redux is a Predictable State Container for JavaScript Apps. Redux is primarily used for managing application state. In a nutshell, Redux manages a whole application's state in a single immutable state tree (object), which cannot be...Dec 6, 2022·4 min read
useEffect() in ReactWhat exactly is an “effect"? The word effect refers to a functional programming term called a "side effect". But to really understand what a side effect is, we first have to grasp the concept of a pure function. Most React components are pure functi...Nov 16, 2022·4 min read
Function Borrowing in JSFunction borrowing, also known as method borrowing in JS, as its name implies, is a way via which we can borrow/ reuse the method of an object on a different object other than the object it was defined on. Using the predefined JavaScript methods, cal...May 10, 2022·3 min read
Promises In JavaScriptPromises are one of the ways we can deal with asynchronous operations in JavaScript. In JavaScript, a promise is analogous to a promise in real life. When we make a promise in real life, we are guaranteeing that we will follow through on it. In real...Apr 30, 2022·8 min read