---
title: "Discussion on \"3. Component LifeCycle in ReactJS\" | Hashnode"
description: "Discussion on \"3. Component LifeCycle in ReactJS\". Class Components vs Functional Components\n Class Components (older appraoch to write reactJS code)\n\nRequire ES6 class syntax.\n\nUse this.state and this.setState() to manage state.\n\nHave lifecycle methods (componentDidMount, componentDidUpdate, etc.).\n..."
url: "https://hashnode.com/posts/3-component-lifecycle-in-reactjs/67e7938310b85daa337e5e2f"
---

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

Discussion

# [3\. Component LifeCycle in ReactJS](https://rajputayushreact.hashnode.dev/3-component-lifecycle-in-reactjs?utm_source=hashnode&utm_medium=feed)

Class Components vs Functional Components Class Components (older appraoch to write reactJS code) Require ES6 class syntax. Use this.state and this.setState() to manage state. Have lifecycle methods (componentDidMount, componentDidUpdate, etc.). ...

Mar 29, 2025 · 2 min read · rajputayushreact.hashnode.dev  
Updated Apr 2, 2025  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-js](https://hashnode.com/tag/react-js)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#lifecycle-in-react](https://hashnode.com/tag/lifecycle-in-react)
-   [#components](https://hashnode.com/tag/components)

## Written by

[Ayush Rajput](https://hashnode.com/@ayuxsh)

@ayuxsh

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

</ hello world >

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
