---
title: "Sonu Sahu (@sonusahudev) | Hashnode"
description: "Frontend Developer. Read the latest articles by Sonu Sahu on Hashnode."
url: "https://hashnode.com/@sonusahudev"
---

@sonusahudev

# Sonu Sahu

@sonusahudev · India · Joined April 2023

Frontend Developer

[Website](https://sonusahu.vercel.app/)

### [Setting Up Node.js and Express with TypeScript](https://www.sonusahu.com/setting-up-nodejs-and-express-with-typescript?utm_source=hashnode&utm_medium=feed)

Creating a Node.js project with Express and TypeScript allows you to take advantage of TypeScript’s type-checking and modern JavaScript features. This guide will walk you through the process step-by-step. Step 1: Initialize Your Project First, create...

3 min read · [sonusahu.com](https://www.sonusahu.com/setting-up-nodejs-and-express-with-typescript?utm_source=hashnode&utm_medium=feed)

[May 19, 2024](https://hashnode.com/posts/setting-up-nodejs-and-express-with-typescript/66498335ad596fa96bd4761b)

### [4 useState Mistakes You Should Avoid in React🚫](https://www.sonusahu.com/4-usestate-mistakes-you-should-avoid-in-react?utm_source=hashnode&utm_medium=feed)

react

6 min read · [sonusahu.com](https://www.sonusahu.com/4-usestate-mistakes-you-should-avoid-in-react?utm_source=hashnode&utm_medium=feed)

[Apr 27, 2024](https://hashnode.com/posts/4-usestate-mistakes-you-should-avoid-in-react/662ca673e81ca2ec6ffe303e)

### [Exploring Scope in JavaScript: Understanding the Four Types of Scopes](https://www.sonusahu.com/scope-in-javascript?utm_source=hashnode&utm_medium=feed)

In this blog, we are going to delve into the fascinating world of scope in JavaScript. Scope determines the visibility and accessibility of variables within your code, and in JavaScript, there are four main types of scope: global scope, function scop...

2 min read · [sonusahu.com](https://www.sonusahu.com/scope-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 9, 2024](https://hashnode.com/posts/scope-in-javascript/65ec63a56d90e92f3fee166a)

### [Difference between Shallow Copy and Deep Copy in JavaScript](https://www.sonusahu.com/difference-between-shallow-copy-and-deep-copy-in-javascript?utm_source=hashnode&utm_medium=feed)

In this blog, you’ll learn about shallow copy and deep copy in JavaScript with the help of examples. In JavaScript, the object is copied in two ways: the first way is shallow copy, and the second way is deep copy. Before understanding shallow copy an...

4 min read · [sonusahu.com](https://www.sonusahu.com/difference-between-shallow-copy-and-deep-copy-in-javascript?utm_source=hashnode&utm_medium=feed)

[May 25, 2023](https://hashnode.com/posts/difference-between-shallow-copy-and-deep-copy-in-javascript/646f48971fc3f858d538f9a9)

### [Defference between Regular functions and Arrow functions in Javascript.](https://www.sonusahu.com/defference-between-regular-functions-and-arrow-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

You have probably used the regular or arrow functions at least 100 times, but do you know what the difference is between these two functions? Do not worry; I got covered in this article. First of all, let's talk about what functions. A function is a ...

3 min read · [sonusahu.com](https://www.sonusahu.com/defference-between-regular-functions-and-arrow-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/defference-between-regular-functions-and-arrow-functions-in-javascript/6427b54dcf117bf65220ba5f) [Apr 1, 2023](https://hashnode.com/posts/defference-between-regular-functions-and-arrow-functions-in-javascript/6427b54dcf117bf65220ba5f)
