Top Tweets for #UseEffect
⚛️ React performance — are we overthinking it?
In this Q&A, Faris Aziz explains why some of React’s most commonly used features may actually deserve less attention — not more.
Instead of reaching for #useCallback, #useEffect, and #useMemo by default, developers should focus on writing well-structured code first. React is already pragmatic and performant out of the box, and adding complexity too early can often do more harm than good.
It’s not just about optimization — it’s about knowing when optimization is actually needed.
🔍 Main takeaways:
• Why #useCallback, #useEffect, and #useMemo should be used as little as possible
• How React is already performant without over-optimizing everything
• Why developers should be cautious with manual memoization
• How better code structure leads to cleaner, more reliable React apps
🎥 Discover why doing less in React can sometimes lead to better results
👉 Join upcoming JavaScript Conferences:
🔗 https://t.co/9RkabAypHl
#JavaScriptConference #React #JavaScript #WebDevelopment #FrontendDevelopment #DeveloperExperience #iJSConf
Today my React app talked to the internet.
Asked for data. Got a response. Displayed it.
All automatic. All real time.
useEffect + useState + fetch =
Your app can show anything from anywhere.
Day 38. Real apps start here. 🌐
#90DaysOfCode #React #useEffect

React useEffect入門|副作用とstateの変化を処理する
ReactのuseEffectは、コンポーネントのレンダリング後に副作用を処理するフック。データ取得やタイマー設定など、クラスコンポーネントのライフサイクルメソッドを関数コンポーネントで実装可能。
https://t.co/sm1IrcKUwI
#React #useEffect #State
Day 77 of #100DaysOfCode – useEffect in React ⚛️
Built a small example where counter changes trigger an API call using useEffect. Fetched random user data and displayed it dynamically.
@sarthacksharma
@sheryians_
#100DaysOfCode #ReactJS #useEffect #WebDev

useEffect is not a lifecycle hook. It's a synchronization tool. Stop asking "when does it run?" Start asking "what does it sync?" If you can't answer that clearly, you don't need useEffect. You need to rethink the model. What are you actually syncing? 👇
#ReactJS #useEffect #Frontend #JavaScript #WebDev

useEffect は最終手段 — 本当にそれは必要かを考える - UPSIDER Techblog https://t.co/GQmA8j5Gxl #React #フロントエンド #useEffect #設計 #JavaScript
Got this naturally understandable definition after searching many times...
Thanks for the blog... #useEffect #CleanUp #Function

#useEffect
𝗢 𝗖𝘂𝘀𝘁𝗼 𝗱𝗮 𝗜𝗱𝗲𝗻𝘁𝗶𝗱𝗮𝗱𝗲 𝗘𝘀𝘁𝗮́𝘃𝗲𝗹 (𝗔 𝗗𝗶𝘁𝗮𝗱𝘂𝗿𝗮 𝗱𝗼 𝘂𝘀𝗲𝗖𝗮𝗹𝗹𝗯𝗮𝗰𝗸) 💸
𝑂 𝑢𝑠𝑒𝐸𝑓𝑓𝑒𝑐𝑡 𝑒́ 𝑢𝑚 𝑣𝑖𝑧𝑖𝑛ℎ𝑜 𝑡𝑎̃𝑜 𝑓𝑜𝑓𝑜𝑞𝑢𝑒𝑖𝑟𝑜 𝑞𝑢𝑒 𝑒𝑙𝑒 𝑓𝑜𝑟𝑐̧𝑜𝑢 𝑡𝑜𝑑𝑜 𝑚𝑢𝑛𝑑𝑜 𝑛𝑜 𝑐𝑜𝑛𝑑𝑜𝑚𝑖́𝑛𝑖𝑜 𝑎 𝑚𝑢𝑑𝑎𝑟 𝑑𝑒 𝑐𝑜𝑚𝑝𝑜𝑟𝑡𝑎𝑚𝑒𝑛𝑡𝑜.
Para satisfazer o 𝑢𝑠𝑒𝐸𝑓𝑓𝑒𝑐𝑡, fomos obrigados a envolver quase toda a nossa lógica em 𝑢𝑠𝑒𝐶𝑎𝑙𝑙𝑏𝑎𝑐𝑘 𝑒 𝑢𝑠𝑒𝑀𝑒𝑚𝑜.
https://t.co/W4G099rqb0
@sseraphini @ChristoPy_ @BolhaDevs #bolhadev

#useEffect
𝗔 𝗜𝗻𝘃𝗲𝗿𝘀𝗮̃𝗼 𝗱𝗼 𝗙𝗹𝘂𝘅𝗼 𝗱𝗲 𝗖𝗼𝗻𝘁𝗿𝗼𝗹𝗲 (𝗢 "𝗘𝗳𝗲𝗶𝘁𝗼 𝗙𝗮𝗻𝘁𝗮𝘀𝗺𝗮") 👻
Em vez de disparar uma ação quando algo acontece, nós alteramos um estado e "torcemos" para que o efeito colateral correto capture essa mudança.
Isso cria uma especie de Efeito Fantasma:
1 - Você altera o estado status no Componente A
2 - Um 𝑢𝑠𝑒𝐸𝑓𝑓𝑒𝑐𝑡 no Componente B está observando esse status
3 - Esse efeito dispara uma chamada de API que altera o estado data
4 - Um terceiro 𝑢𝑠𝑒𝐸𝑓𝑓𝑒𝑐𝑡 reage a data
https://t.co/KDhox05UWK
@sseraphini @ChristoPy_ @BolhaDevs #bolhadev

#useEffect
𝗢 𝗔𝗿𝗿𝗮𝘆 ���𝗲 𝗗𝗲𝗽𝗲𝗻𝗱𝗲̂𝗻𝗰𝗶𝗮𝘀 𝗲́ 𝘂𝗺𝗮 "𝗠𝗲𝗻𝘁𝗶𝗿𝗮 𝗙𝗼𝗿𝗰̧𝗮𝗱𝗮" 🤥
𝑆𝑒 𝑣𝑜𝑐𝑒̂ 𝑢𝑠𝑎 𝑅𝑒𝑎𝑐𝑡, 𝑣𝑜𝑐𝑒̂ 𝑗𝑎́ 𝑚𝑒𝑛𝑡𝑖𝑢 𝑝𝑎𝑟𝑎 𝑜 𝑠𝑒𝑢 𝑐𝑜́𝑑𝑖𝑔𝑜 ℎ𝑜𝑗𝑒.
1 - Mentimos para o linter e removemos a dependência (gerando o risco de stale closures).
2 - Usamos useRef para "esconder" o valor, criando um código sujo e burocrático.
https://t.co/smD2lcWwVm
@sseraphini @ChristoPy_ @BolhaDevs #bolhadev
#useEffect é problemático. O #useEffectEvent está vindo para tentar estancar a sangria
Mas a pergunta é: por que precisamos de um Hook para consertar outro Hook? Onde foi que a gente se perdeu na arquitetura? 🧐
@sseraphini @ChristoPy_ @BolhaDevs
#useEffect Qual a maior 'gambiarra' que você já fez por causa do useEffect?
1️⃣ // eslint-disable-next-line
2️⃣ useRef só pra esconder valor
3️⃣ useState dentro de useEffect (o loop do caos)
Comenta aí o seu crime de guerra técnico. 👇
@sseraphini @ChristoPy_ @BolhaDevs
#useEffect Por que a gente aceitou que o desenvolvedor precisa ser o fiscal de memória do framework? O useEffect abraçou o mundo e acabou nos sufocando.
@sseraphini @ChristoPy_ @BolhaDevs
#useEffect Quem aí já brigou com o array de dependências só pra ler um valor levanta as duas mãos pro céu e diz amém \o/ \o/ \o/
@sseraphini @ChristoPy_ @BolhaDevs
Mastering React Hooks: A Complete Guide with Examples
https://t.co/yRTFrvrTXL
#React #ReactJS #ReactHooks #UseState #UseEffect #UseMemo #UseCallback #CustomHooks #FrontendDevelopment #WebDevelopment #JavaScript

As part of my @ReactJS course on @scrimba, I’m diving into side effects and the #cleanup function with #useEffect.
#. The function returned by #useEffect cleans up ressources (timers, events listeners…) before the component unmounts.
#ReactJS #WebDev #100DayOfCode

Stop using useState for everything.
When you have 3+ related state updates, switch to useReducer.
Your code will be cleaner and bugs will disappear.
#ReactJS #React #JavaScript #WebDev #WebDevelopment #Coding #Programming #FrontendDev #ReactHooks #useEffect #CodeTips #DevTips

Day’s React progress ⚛️
Studied useEffect Hook and understood why it’s needed for handling side effects in React
Lecture felt a bit heavy, but concepts are getting clearer step by step 💪
#ReactJS #useEffect #Learning #Consistency

Day 4⚛️
Today I finally understood useEffect properly ⚛️
1️⃣ useEffect runs after component renders
2️⃣ Used for API calls, async code, timers
3️⃣ Dependency array controls when it runs
4️⃣ Input change → state update → re-render → useEffect
#ReactJS #useEffect #Axios #Frontend

Last Seen Hashtags on Sotwe
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
240.1M followers

Barack Obama 
@barackobama
119.3M followers

Donald J. Trump 
@realdonaldtrump
111.6M followers

Cristiano Ronaldo 
@cristiano
108.8M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
97.2M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
90.5M followers

KATY PERRY 
@katyperry
86.7M followers

Taylor Swift 
@taylorswift13
80.5M followers

Lady Gaga 
@ladygaga
72.1M followers

Kim Kardashian 
@kimkardashian
69.3M followers

YouTube 
@youtube
68.6M followers

Virat Kohli 
@imvkohli
68.4M followers

Bill Gates 
@billgates
63.4M followers

The Ellen Show
@theellenshow
62.5M followers

CNN 
@cnn
61.9M followers

Neymar Jr 
@neymarjr
60.9M followers

X 
@x
60.9M followers

CNN Breaking News 
@cnnbrk
59.9M followers

















