---
title: "Discussion on \"React Hooks ( useState & useEffect )\" | Hashnode"
description: "Discussion on \"React Hooks ( useState & useEffect )\". Introduction to React Hooks: useState and useEffect for managing state and lifecycle in function components. Learn their rules, usage with examples"
url: "https://hashnode.com/posts/react-hooks-usestate-useeffect/66913e7704d85047383eaa68"
---

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

Discussion

# [React Hooks ( useState & useEffect )](https://blogs.tharuxpert.com/react-hooks-usestate-useeffect?utm_source=hashnode&utm_medium=feed)

Introduction to React Hooks: useState and useEffect for managing state and lifecycle in function components. Learn their rules, usage with examples

Jul 12, 2024 · 3 min read · blogs.tharuxpert.com  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-native](https://hashnode.com/tag/react-native)
-   [#usestate](https://hashnode.com/tag/usestate)
-   [#useeffect](https://hashnode.com/tag/useeffect)

## Written by

[Tharusha Nirmal Amarasooriya](https://hashnode.com/@tharuxpert)

@tharuxpert · Sri Lanka, Kegalle

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

Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.

Student developer exploring Next.js, React, React Native &amp; Tailwindcss. Solid in HTML &amp; CSS. Passionate about building web/mobile apps. Always eager to learn🎯!

## Responses 1

Markdown supported · ⌘↵ to post

[Lahiru](https://hashnode.com/@lahirudx)

[Jul 13, 2024](https://hashnode.com/posts/react-hooks-usestate-useeffect/66913e7704d85047383eaa68/comment/669248a02899c8a4a1b09357)

Explanations and examples were very helpful. Looking forward to more content like this

[Tharusha Nirmal Amarasooriya](https://hashnode.com/@tharuxpert)

[Jul 14, 2024](https://hashnode.com/posts/react-hooks-usestate-useeffect/66913e7704d85047383eaa68/comment/669248a02899c8a4a1b09357#reply-6693d71c6cea3aafc8ac4fa0)

Thank you for the feedback! I'm glad to hear that the explanations and examples were helpful to you. I will definitely keep creating content like this in the future. Stay tuned for more valuable information coming your way!
