---
title: "Rahul Sharma (@DevsMitra) | Hashnode"
description: "I'm a technology enthusiast who does web development. Read the latest articles by Rahul Sharma on Hashnode."
url: "https://hashnode.com/@DevsMitra"
---

@DevsMitra

# Rahul Sharma

@DevsMitra · Bangalore, India · Joined November 2022

I'm a technology enthusiast who does web development.

### [What, Why, and How Javascript Static Initialization Blocks?](https://devsmitra.hashnode.dev/what-why-and-how-javascript-static-initialization-blocks?utm_source=hashnode&utm_medium=feed)

ES2022 introduces a new feature called static initialization blocks. With static initialization blocks, we can initialize static variables and execute some code only once when the class is loaded. https://www.youtube.com/watch?v=Hv-VldcP6gc&list=PLAA...

5 min read · [devsmitra.hashnode.dev](https://devsmitra.hashnode.dev/what-why-and-how-javascript-static-initialization-blocks?utm_source=hashnode&utm_medium=feed)

[Jan 21, 2023](https://hashnode.com/posts/what-why-and-how-javascript-static-initialization-blocks/63cbdaf20a811f9ef11c8df2)

### [Create an HTTP server using 1 command](https://devsmitra.hashnode.dev/create-an-http-server-using-1-command?utm_source=hashnode&utm_medium=feed)

https://www.youtube.com/watch?v=3X5817B0LLU&list=UULFQkvNcHN5vg3jEoeOb9Tdrw Today we will learn how to create an HTTP server for the local development of sites, it is a very cool tool to do tests and visualize how the website will look when it is h...

1 min read · [devsmitra.hashnode.dev](https://devsmitra.hashnode.dev/create-an-http-server-using-1-command?utm_source=hashnode&utm_medium=feed)

[Jan 8, 2023](https://hashnode.com/posts/create-an-http-server-using-1-command/63ba84068a23247e14f35b09)

### [Exploring the Power of new.target in JavaScript](https://devsmitra.hashnode.dev/exploring-the-power-of-newtarget-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, the new.target property is a meta-property that can be used to determine whether a function was called with the new keyword. It returns a reference to the constructor function that was invoked with the new keyword or undefined if the f...

1 min read · [devsmitra.hashnode.dev](https://devsmitra.hashnode.dev/exploring-the-power-of-newtarget-in-javascript?utm_source=hashnode&utm_medium=feed)

[Dec 27, 2022](https://hashnode.com/posts/exploring-the-power-of-newtarget-in-javascript/63ab1a40d7c19bf97fc4461e)

### [13 Typescript Utility: A Cheat Sheet for Developer](https://devsmitra.hashnode.dev/typescript-utility-a-cheat-sheet-for-developer?utm_source=hashnode&utm_medium=feed)

Typescript is very powerful in terms of type checking, but sometimes it gets tedious when some types are subsets of other types and you need to define type checking for them. https://www.youtube.com/watch?v=\_1YcI9ohazM Let's take an example, you ha...

4 min read · [devsmitra.hashnode.dev](https://devsmitra.hashnode.dev/typescript-utility-a-cheat-sheet-for-developer?utm_source=hashnode&utm_medium=feed)

[Dec 23, 2022](https://hashnode.com/posts/typescript-utility-a-cheat-sheet-for-developer/63a535b3c8a56a9cf7dbdc3d)

### [React best practices and patterns to reduce code - Part 2](https://devsmitra.hashnode.dev/react-best-practices-and-patterns-to-reduce-code-part-2?utm_source=hashnode&utm_medium=feed)

I've another article about React's best practices and patterns to reduce code. It's a good article to read before you start to write your own React code. React best practices and patterns to reduce code - Part 1 Without wasting time, let's look at s...

5 min read · [devsmitra.hashnode.dev](https://devsmitra.hashnode.dev/react-best-practices-and-patterns-to-reduce-code-part-2?utm_source=hashnode&utm_medium=feed)

[Dec 20, 2022](https://hashnode.com/posts/react-best-practices-and-patterns-to-reduce-code-part-2/63a173f101b1b9f6fd7ec88c)
