PKPayal Kherajaniinpayalkherajani.hashnode.dev路Jun 13, 2023 路 5 min readScope and related errors in JS...Let's start... https://media.giphy.com/media/nDVsr46wHobGU/giphy.gif What is Scope? The scope is the region where a variable can be accessed by its identifier name. Let's look into the examples: Example-1: const name = 'Akshara' //Global Scope ...00
PKPayal Kherajaniinpayalkherajani.hashnode.dev路Jul 17, 2021 路 5 min readReact Hooks at Glance!Prerequisite: In this blog, I assume that you have some basic understanding of Reactjs concepts like state and lifecycle method! Aim: To help you make a transition from class-based components to functional-based components using react hooks! Now, ...02A
PKPayal Kherajaniinpayalkherajani.hashnode.dev路Jun 28, 2021 路 11 min readAll IN ONE! OOPS, IN JSExcited! Let's start then... What is Object? An object is a collection of related data and functionality. Object in JS is used to model real-world objects for eg: car, birds etc with properties and behaviour. For example, const person = { na...01E
PKPayal Kherajaniinpayalkherajani.hashnode.dev路Jun 13, 2021 路 4 min readCross Your Heart! Javascript Promises...Okay! So before starting we'll make a promise to each other 馃槄 My Promise: I'll try to explain Javascript Promises, in the best way possible! 馃挅 Your Promise: Read the complete blog! 馃槂 For now, both of our promises are in a pending state, let's...00
PKPayal Kherajaniinpayalkherajani.hashnode.dev路Jun 6, 2021 路 3 min readAlohomora, JEST! 馃攽Me: So Guys! Today we will learn JEST. Excited? 馃槈 You: Yes!馃槄 Me: Let's start, then...馃き WHAT IS JEST? 馃 Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It works with projects using: Babel, TypeScript, Node, Reac...00