SPSanthosh Pemmakainsanthoshpemmaka.hashnode.dev·Jun 6, 2022 · 3 min readLearn the useContext Hook in ReactWhat is React Context Imagine for a moment that you have a react app with a single parent component that contains many levels of child components inside of it. Now, imagine passing data from the uppermost component all the way down to the last child...00
SPSanthosh Pemmakainsanthoshpemmaka.hashnode.dev·Jun 3, 2022 · 3 min readLearn About Promise APIThere are 6 static methods in the Promise class. Let's discuss them one by one. Promise.resolve Promise.resolve(value) creates a resolved promise with the result value. const promise = new Promise(resolve => resolve('value')); // value Promis...00