VKVandana Kumariinvandanakri.hashnode.dev·Jun 11, 2023 · 2 min readData Types In JavaScriptWhat are data types in JavaScript Data types in JavaScript are used to specify the type of value or data a variable can store or hold and determine the operations that can be performed on it. How to know the data type of variable? In Javascript, we c...00
VKVandana Kumariinvandanakri.hashnode.dev·Feb 14, 2023 · 7 min readLifecycle of ComponentsLifecycle methods are series of events that happen throughout the birth, growth, and death of a React component. Let’s look at a simple example. If I told you to build a Hello World component, you might write something like this: class Header extends...00
VKVandana Kumariinvandanakri.hashnode.dev·Feb 14, 2023 · 2 min readJavaScript PromisePromises are used to handle asynchronous operations in JavaScript. They are easy to manage when dealing with multiple asynchronous operations where callbacks can create callback hell leading to unmanageable code A JavaScript promise is created with t...00
VKVandana Kumariinvandanakri.hashnode.dev·Feb 14, 2023 · 1 min readClass ComponentsA class component requires you to extend from react component and create a render function that returns a react element. A bit confusing? Let’s take a look at a simple example. class Welcome extends React.Component { render() { return <h1>Hello...00
VKVandana Kumariinvandanakri.hashnode.dev·Jan 28, 2022 · 1 min readExecution contextWhat actually is an Execution Context ? Execution context is the concept for describing the internal working of a code. In JavaScript, the environment that enables the JavaScript code to get executed is what we call JavaScript Execution Context. It ...00