---
title: "Discussion on \"ReactJS Hooks: useState and useEffect\" | Hashnode"
description: "Discussion on \"ReactJS Hooks: useState and useEffect\". ReactJS introduced two new features, called hooks, in its newer versions: useState and useEffect. These hooks allow functional components to have their own state and lifecycle methods, which used to be possible only with class components.\nBefore Hook..."
url: "https://hashnode.com/posts/reactjs-hooks-usestate-and-useeffect/6697b2dbd9e653866189724f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [ReactJS Hooks: useState and useEffect](https://manjur.hashnode.dev/reactjs-hooks-usestate-and-useeffect?utm_source=hashnode&utm_medium=feed)

ReactJS introduced two new features, called hooks, in its newer versions: useState and useEffect. These hooks allow functional components to have their own state and lifecycle methods, which used to be possible only with class components. Before Hook...

Jul 17, 2024 · 7 min read · manjur.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-native](https://hashnode.com/tag/react-native)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#usestate](https://hashnode.com/tag/usestate)
-   [#functional-components](https://hashnode.com/tag/functional-components)
-   [#react-component-state](https://hashnode.com/tag/react-component-state)

## Written by

[Manjur Ali](https://hashnode.com/@manjoor21)

@manjoor21

  
[View profile](https://hashnode.com/@manjoor21)

Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
