---
title: "You Might Not Need an Effect"
url: https://daily.dev/posts/you-might-not-need-an-effect-md7gt5hkx
source_url: https://beta.reactjs.org/learn/you-might-not-need-an-effect
type: article
source: "Community Picks"
published: 2022-06-23T18:56:39.361Z
updated: 2023-12-07T12:02:45.284Z
tags: ["react"]
reading_time: 18
upvotes: 256
comments: 14
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# You Might Not Need an Effect

**[Community Picks](https://daily.dev/sources/community)** · 18 min read · 256 upvotes · 14 comments

## Summary

Removing unnecessary Effects will make your code easier to follow, faster to run, and less error-prone. Effects are an escape hatch from the React paradigm. They let you synchronize your components with some external system like a non-React widget, network, or the browser DOM.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://beta.reactjs.org/learn/you-might-not-need-an-effect>

## Community discussion

Top comments from developers on daily.dev.

**@idoshamun** · 16 upvotes

> This is a must read for every react developer out there. We tend to use `useEffect` for everything but honestly we don't need it in many cases

**@pemachele** · 7 upvotes

> in brief the article was saying my react journey was a joke.    Super helpful article

**@flide** · 4 upvotes

> A cleaner way to think designing components in React.

**@ghost** · 3 upvotes

> A wonderful doc on why you should not use effects for every task and remove redundant ones.

**@erhant** · 2 upvotes

> I feel like my eyes have opened after reading this, I strongly recommend!

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#react](https://daily.dev/tags/react)

[View this post on daily.dev](https://daily.dev/posts/you-might-not-need-an-effect-md7gt5hkx)
