---
title: "Somidh Roy (@Somidh) | Hashnode"
description: "Student. Read the latest articles by Somidh Roy on Hashnode."
url: "https://hashnode.com/@Somidh"
---

@Somidh

# Somidh Roy

@Somidh · Indore, India · Joined January 2022

Student

### [useState and useEffect hook. What are hooks and how do we use useState and useEffect hook?](https://somidhroy.hashnode.dev/usestate-and-useeffect-hook-what-are-hooks-and-how-do-we-use-usestate-and-useeffect-hook?utm_source=hashnode&utm_medium=feed)

Why we should use hooks? Hooks are a way to manage state logic in functional components. They allow you to reuse stateful logic between components and can make it easier to test components. Some benefits of using hooks: With hooks, you can use funct...

4 min read · [somidhroy.hashnode.dev](https://somidhroy.hashnode.dev/usestate-and-useeffect-hook-what-are-hooks-and-how-do-we-use-usestate-and-useeffect-hook?utm_source=hashnode&utm_medium=feed)

[Jan 9, 2023](https://hashnode.com/posts/usestate-and-useeffect-hook-what-are-hooks-and-how-do-we-use-usestate-and-useeffect-hook/63bc116f796109f9c77eaf45)
