KDKiran Debnathinkirandebnath.io·Dec 25, 2022 · 3 min readuseState & useEffect() hookuseState() hook useState() hook is a special function which takes one argument. The argument passed to useState is initial state. It returns an array of two entries. The first element is the initial state and the second is a function which is used fo...00
KDKiran Debnathinkirandebnath.io·Dec 25, 2022 · 3 min readHow Promises solve the issue of callbacks in JSPromises are used to handle Async operations. But before promises async operations used to be handled by callback functions. Then what was the need of promises when async operations could be handled by callback functions . Because of the major issue...00
KDKiran Debnathinkirandebnath.io·Dec 25, 2022 · 4 min readHow Javascript works & Execution ContextEverything in Js happens inside an execution context. The above statement is simple yet very powerful statement to define how Js works in behind the screen and to understand it we must know what is an Execution context. So let me explain you. Executi...00