---
title: "Discussion on \"[React] What is useEffect?\" | Hashnode"
description: "Discussion on \"[React] What is useEffect?\". useEffect is a React Hook that lets you synchronize a component with an external system.\n\nHow to use useEffect?\nuseEffect(setup, dependencies?)\nimport { useEffect, useState } from 'react';\nimport { createConnection } from './chat.js';\n\nfunction ChatR..."
url: "https://hashnode.com/posts/react-what-is-useeffect/65b51643128cb05c54baefa6"
---

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

Discussion

# [\[React\] What is useEffect?](https://jingwangjjang.hashnode.dev/react-what-is-useeffect?utm_source=hashnode&utm_medium=feed)

useEffect is a React Hook that lets you synchronize a component with an external system. How to use useEffect? useEffect(setup, dependencies?) import { useEffect, useState } from 'react'; import { createConnection } from './chat.js'; function ChatR...

Jan 27, 2024 · 3 min read · jingwangjjang.hashnode.dev  
Read the article

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

## Written by

[Jiwon Yu](https://hashnode.com/@JingWangJjang)

@JingWangJjang

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
