---
title: "Chirag Gupta (@chirag-gupta) | Hashnode"
description: "Frontend Developer | React | Next.js | Typescript. Read the latest articles by Chirag Gupta on Hashnode."
url: "https://hashnode.com/@chirag-gupta"
---

@chirag-gupta

# Chirag Gupta

@chirag-gupta · India · Joined August 2021

Frontend Developer | React | Next.js | Typescript

[Website](https://portfolio-chiraggupta.netlify.app/)

### [Using Intersection Observer API in React](https://chirag-gupta.hashnode.dev/using-intersection-observer-api-in-react?utm_source=hashnode&utm_medium=feed)

Discover how the Intersection Observer API can elevate your web app's user experience. Learn its application in HTML/CSS projects and React apps, with clear

4 min read · [chirag-gupta.hashnode.dev](https://chirag-gupta.hashnode.dev/using-intersection-observer-api-in-react?utm_source=hashnode&utm_medium=feed)

[Oct 14, 2023](https://hashnode.com/posts/using-intersection-observer-api-in-react/652a952c553239615e6e4c2b)

### [Zod for Runtime Validation in Next.js](https://chirag-gupta.hashnode.dev/zod-for-runtime-validation-in-nextjs?utm_source=hashnode&utm_medium=feed)

Learn Zod for runtime validation in Next.js. Secure APIs and validate input with ease. Elevate your Next.js projects.

4 min read · [chirag-gupta.hashnode.dev](https://chirag-gupta.hashnode.dev/zod-for-runtime-validation-in-nextjs?utm_source=hashnode&utm_medium=feed)

[Sep 7, 2023](https://hashnode.com/posts/zod-for-runtime-validation-in-nextjs/64fa02c7ee28afaf762a46a9)

### [Authentication in Next.js using NextAuth.js](https://chirag-gupta.hashnode.dev/authentication-in-nextjs-using-nextauthjs?utm_source=hashnode&utm_medium=feed)

Learn how to implement user authentication in your Next.js web application using the NextAuth.js Credentials Provider. Securely manage user login and access

6 min read · [chirag-gupta.hashnode.dev](https://chirag-gupta.hashnode.dev/authentication-in-nextjs-using-nextauthjs?utm_source=hashnode&utm_medium=feed)

[Sep 4, 2023](https://hashnode.com/posts/authentication-in-nextjs-using-nextauthjs/64f61e902a0bf69b6dacc8c5)

### [How to solve hydration error in Next.js](https://chirag-gupta.hashnode.dev/how-to-solve-hydration-error-in-nextjs?utm_source=hashnode&utm_medium=feed)

Learn how to resolve the 'Hydration Failed' error in Next.js when transitioning from React. Discover reasons behind the error and explore practical solution

3 min read · [chirag-gupta.hashnode.dev](https://chirag-gupta.hashnode.dev/how-to-solve-hydration-error-in-nextjs?utm_source=hashnode&utm_medium=feed)

[Aug 14, 2023](https://hashnode.com/posts/how-to-solve-hydration-error-in-nextjs/64dab0396eb51ca5d5de9d74)

### [How code works in JavaScript part-2(understanding scope & scope chain)](https://chirag-gupta.hashnode.dev/how-code-works-in-javascript-part-2understanding-scope-and-scope-chain?utm_source=hashnode&utm_medium=feed)

Scope and scope chain are some fundamental concepts of JavaScript , which helps us understand how JavaScript works. Learning about these concepts can improve our debugging skills. Scope Scope refers to a space or an area in which a particular variabl...

4 min read · [chirag-gupta.hashnode.dev](https://chirag-gupta.hashnode.dev/how-code-works-in-javascript-part-2understanding-scope-and-scope-chain?utm_source=hashnode&utm_medium=feed)

[Sep 15, 2021](https://hashnode.com/posts/how-code-works-in-javascript-part-2understanding-scope-and-scope-chain/6142293c82e95e55a87391fd)
