NRNamrata Raikwarinnamrataraikwar.hashnode.dev·May 14, 2022 · 2 min readWhat is useContext?Prerequisites This blog assumes you're already familiar with React and React Hooks. Why should you use useContext? To avoid the pain of prop drilling, we use the useContext hook. as you may know. Prop drilling is the process of transferring props fro...00
NRNamrata Raikwarinnamrataraikwar.hashnode.dev·May 12, 2022 · 3 min readDestructuringLet's try to understand Destructuring. In this blog, we will learn about javascript expression Destruturing in arrays and objects. Prerequisites This blog assumes that you are familiar with arrays and objects. Introduction In simple terms, destruct...00
NRNamrata Raikwarinnamrataraikwar.hashnode.dev·May 8, 2022 · 2 min readHoistingLet's first understand what is Hoisting. Prerequisites This blog assumes you're familiar with the let, const and var keywords, as well as how to use them. What is Hoisting? Hoisting is the phenomenon in JavaScript by which we can access variables and...00