---
title: "Kiran Debnath (@Kirandebnath81) | Hashnode"
description: "Web development. Read the latest articles by Kiran Debnath on Hashnode."
url: "https://hashnode.com/@Kirandebnath81"
---

@Kirandebnath81

# Kiran Debnath

@Kirandebnath81 · Assam, India · Joined January 2021

Web development

### [useState & useEffect() hook](https://kirandebnath.io/usestate-useeffect-hook?utm_source=hashnode&utm_medium=feed)

useState() 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...

3 min read · [kirandebnath.io](https://kirandebnath.io/usestate-useeffect-hook?utm_source=hashnode&utm_medium=feed)

[Dec 25, 2022](https://hashnode.com/posts/usestate-useeffect-hook/63a895ebc590780d54022a58)

### [How Promises solve the issue of callbacks in JS](https://kirandebnath.io/how-promises-solve-the-issue-of-callbacks-in-js?utm_source=hashnode&utm_medium=feed)

Promises 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...

3 min read · [kirandebnath.io](https://kirandebnath.io/how-promises-solve-the-issue-of-callbacks-in-js?utm_source=hashnode&utm_medium=feed)

[Dec 25, 2022](https://hashnode.com/posts/how-promises-solve-the-issue-of-callbacks-in-js/63a890e518d89d656ef0aa02)

### [How Javascript works & Execution Context](https://kirandebnath.io/how-javascript-works-execution-context?utm_source=hashnode&utm_medium=feed)

Everything 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...

4 min read · [kirandebnath.io](https://kirandebnath.io/how-javascript-works-execution-context?utm_source=hashnode&utm_medium=feed)

[Dec 25, 2022](https://hashnode.com/posts/how-javascript-works-execution-context/63a883e2675f03868d9f4b39)
