---
title: "Discussion on \"Why did useEffect replace In React 18?\" | Hashnode"
description: "Discussion on \"Why did useEffect replace In React 18?\". The useEffect Hook allows us to replace repetitive component lifecycle code. Essentially, a Hook is a special function that allows you to “hook into” React features. Hooks are a great solution if you've previously written a functional component and r..."
url: "https://hashnode.com/posts/why-did-useeffect-replace-in-react-18/62a7a2e5ddf27ef9ab05e651"
---

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

Discussion

# [Why did useEffect replace In React 18?](https://developerblogs.hashnode.dev/why-did-useeffect-replace-in-react-18?utm_source=hashnode&utm_medium=feed)

The useEffect Hook allows us to replace repetitive component lifecycle code. Essentially, a Hook is a special function that allows you to “hook into” React features. Hooks are a great solution if you've previously written a functional component and r...

Jun 13, 2022 · 3 min read · developerblogs.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#useeffect](https://hashnode.com/tag/useeffect)
-   [#useinsertioneffect](https://hashnode.com/tag/useinsertioneffect)

## Written by

[Taha Ahmed khan](https://hashnode.com/@TahaAhmed)

@TahaAhmed

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

Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
