---
title: "Gautam pandit (@gpt6295) | Hashnode"
description: "Gautam pandit (@gpt6295) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@gpt6295"
---

@gpt6295

# Gautam pandit

@gpt6295 · Joined September 2023

### [Understanding ref in React: Why and When to Use It](https://blogbygautam.hashnode.dev/understanding-ref-in-react-why-and-when-to-use-it?utm_source=hashnode&utm_medium=feed)

n React, ref is a powerful tool that allows you to directly interact with a specific DOM element or component, bypassing React's usual declarative approach. This becomes especially useful when you need to perform a task that React's state and props m...

1 min read · [blogbygautam.hashnode.dev](https://blogbygautam.hashnode.dev/understanding-ref-in-react-why-and-when-to-use-it?utm_source=hashnode&utm_medium=feed)

[Dec 1, 2024](https://hashnode.com/posts/understanding-ref-in-react-why-and-when-to-use-it/674c15d05206649af95e7e16)

### [PreventDefault: Understanding Its Importance in Forms](https://blogbygautam.hashnode.dev/preventdefault-understanding-its-importance-in-forms?utm_source=hashnode&utm_medium=feed)

When interacting with forms on a website, you might have experienced situations where you accidentally click the submit button before completing the form. This can be especially frustrating if the form is long, as the page reloads, and all your enter...

1 min read · [blogbygautam.hashnode.dev](https://blogbygautam.hashnode.dev/preventdefault-understanding-its-importance-in-forms?utm_source=hashnode&utm_medium=feed)

[Dec 1, 2024](https://hashnode.com/posts/preventdefault-understanding-its-importance-in-forms/674c10c71475a67b8c4baced)

### [Private and Public Key](https://blogbygautam.hashnode.dev/private-and-public-key?utm_source=hashnode&utm_medium=feed)

Private key → The key which is not read by any one, Accept the ownerPrivate key is not for share. Public Key → The key which is read any one and use anyoneThis is for share

1 min read · [blogbygautam.hashnode.dev](https://blogbygautam.hashnode.dev/private-and-public-key?utm_source=hashnode&utm_medium=feed)

[Oct 10, 2024](https://hashnode.com/posts/private-and-public-key/6707d3fef4df10244004b4cd)

### [About JWT](https://blogbygautam.hashnode.dev/about-jwt?utm_source=hashnode&utm_medium=feed)

Stateless & statefulStateless: In a stateless system, information is not stored in a database or any persistent format. When a user presents a secret key, the system uses it without any restrictions, granting access based solely on the key. This mean...

1 min read · [blogbygautam.hashnode.dev](https://blogbygautam.hashnode.dev/about-jwt?utm_source=hashnode&utm_medium=feed)

[Oct 10, 2024](https://hashnode.com/posts/about-jwt/6707d316c2d0f02ef16afc73)

### [About AccessToken And RefreshToken](https://blogbygautam.hashnode.dev/about-accesstoken-and-refreshtoken?utm_source=hashnode&utm_medium=feed)

When building a secure web application, it's important to handle user authentication efficiently. Two key components that help with this are Access Tokens and Refresh Tokens. Access Tokens : Short live and Emergency Use An Access Token is temporary...

1 min read · [blogbygautam.hashnode.dev](https://blogbygautam.hashnode.dev/about-accesstoken-and-refreshtoken?utm_source=hashnode&utm_medium=feed)

[Sep 7, 2024](https://hashnode.com/posts/about-accesstoken-and-refreshtoken/66dc2d0f95409402fff0b061)
