---
title: "Dhananjoy Mahata (@Dhananjoy99) | Hashnode"
description: "Web Developer | Next.js | React.js. Read the latest articles by Dhananjoy Mahata on Hashnode."
url: "https://hashnode.com/@Dhananjoy99"
---

@Dhananjoy99

# Dhananjoy Mahata

@Dhananjoy99 · Kolkata, India · Joined June 2024

Web Developer | Next.js | React.js

### [Mastering JavaScript: Differences Between var, let, and const](https://dhananjoymahata.hashnode.dev/mastering-javascript-differences-between-var-let-and-const?utm_source=hashnode&utm_medium=feed)

In JavaScript, var, let, and const are used to declare variables, but they have some key differences: var Scope: var is function-scoped, meaning it is accessible within the function it is declared in. If declared outside a function, it is globally s...

2 min read · [dhananjoymahata.hashnode.dev](https://dhananjoymahata.hashnode.dev/mastering-javascript-differences-between-var-let-and-const?utm_source=hashnode&utm_medium=feed)

[Sep 15, 2024](https://hashnode.com/posts/mastering-javascript-differences-between-var-let-and-const/66e704cd9188f363d0ebd989)

### [Different Types of Authentication Methods for Web and Mobile Apps](https://dhananjoymahata.hashnode.dev/different-types-of-authentication-methods-for-web-and-mobile-apps?utm_source=hashnode&utm_medium=feed)

In today's digital age, securing web and mobile applications is paramount. Authentication methods play a crucial role in ensuring that only authorized users can access sensitive information. Here, we explore the different types of authentication meth...

3 min read · [dhananjoymahata.hashnode.dev](https://dhananjoymahata.hashnode.dev/different-types-of-authentication-methods-for-web-and-mobile-apps?utm_source=hashnode&utm_medium=feed)

[Aug 26, 2024](https://hashnode.com/posts/different-types-of-authentication-methods-for-web-and-mobile-apps/66ccf99147b342ca6981bff4)

### [Ultimate Guide to React.js Lifecycle Methods with Code Examples](https://dhananjoymahata.hashnode.dev/ultimate-guide-to-reactjs-lifecycle-methods-with-code-examples?utm_source=hashnode&utm_medium=feed)

React.js is one of the most popular JavaScript libraries for building user interfaces, particularly for single-page applications. Understanding the lifecycle methods of a React component is crucial for creating dynamic, high-performance applications....

5 min read · [dhananjoymahata.hashnode.dev](https://dhananjoymahata.hashnode.dev/ultimate-guide-to-reactjs-lifecycle-methods-with-code-examples?utm_source=hashnode&utm_medium=feed)

[Aug 26, 2024](https://hashnode.com/posts/ultimate-guide-to-reactjs-lifecycle-methods-with-code-examples/66ccf3287d516d8213417905)

### [Easy Ways to Get Device Width in React Components](https://dhananjoymahata.hashnode.dev/easy-ways-to-get-device-width-in-react-components?utm_source=hashnode&utm_medium=feed)

Learn how to get device width in React components using a custom \`useWindowSize\` hook for responsive design and performance optimization

4 min read · [dhananjoymahata.hashnode.dev](https://dhananjoymahata.hashnode.dev/easy-ways-to-get-device-width-in-react-components?utm_source=hashnode&utm_medium=feed)

[Jun 2, 2024](https://hashnode.com/posts/easy-ways-to-get-device-width-in-react-components/665cfadaff58f6f8a34c561a)

### [How Content Delivery Networks (CDNs) Improve Web Performance](https://dhananjoymahata.hashnode.dev/how-content-delivery-networks-cdns-improve-web-performance?utm_source=hashnode&utm_medium=feed)

CDNs enhance web performance by improving load times, reliability, security, and scalability for online businesses

4 min read · [dhananjoymahata.hashnode.dev](https://dhananjoymahata.hashnode.dev/how-content-delivery-networks-cdns-improve-web-performance?utm_source=hashnode&utm_medium=feed)

[Jun 2, 2024](https://hashnode.com/posts/how-content-delivery-networks-cdns-improve-web-performance/665ca59880b6eeaac95fb478)
