---
title: "Discussion on \"useEffect() Variants\" | Hashnode"
description: "Discussion on \"useEffect() Variants\". What is React Hooks?\nHooks are functions that let you use the React state and lifecycle events in a functional component. Hooks won't work inside classes. They came into existence to solve many problems created by the class-based components. In class..."
url: "https://hashnode.com/posts/useeffect-variants/62a8389e9c179f02f163d149"
---

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

Discussion

# [useEffect() Variants](https://blog.swapnadeep.com/useeffect-variants?utm_source=hashnode&utm_medium=feed)

What is React Hooks? Hooks are functions that let you use the React state and lifecycle events in a functional component. Hooks won't work inside classes. They came into existence to solve many problems created by the class-based components. In class...

Jun 14, 2022 · 2 min read · blog.swapnadeep.com  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#useeffect](https://hashnode.com/tag/useeffect)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#react-hooks](https://hashnode.com/tag/react-hooks)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Swapnadeep Mohapatra](https://hashnode.com/@swapnadeep)

@swapnadeep

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

Code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
