You might not need useEffect() ...
Academind
@academindAbout
There's always something to learn! We create courses and tutorials on tech-related topics since 2016! We teach development and web development (Python, React.js, JavaScript, Next.js, Flutter and many more) but also new technologies like ChatGPT. Check our YouTube channel, official website and social media and start learning today! 🖥️ Official Website https://academind.com/ 🧑💻We Build Apps https://buildmygraphic.com/ 🎥 Udemy Courses https://www.udemy.com/user/academind 👉Academind Pro Membership (50+ courses included) https://pro.academind.com/ 🤝 Social Media • Twitter: @maxedapps (https://twitter.com/maxedapps) and @academind_real (https://twitter.com/academind_real) • Instagram: @academind_real (https://www.instagram.com/academind_real/) • Facebook: academindchannel (https://www.facebook.com/academindchannel) 💻 Academind Official Website https://academind.com/ See you in the videos! Imprint: https://academind.com/impressum/en
Latest Posts
Video Description
Learn all about useEffect() & React in-depth: https://acad.link/reactjs 🖥️ Official Website & Courses https://academind.com/courses/ 💬 Academind Community https://academind.com/community 👋 Social Media https://twitter.com/maxedapps https://twitter.com/academind_real https://www.instagram.com/academind_real/ https://www.facebook.com/academindchannel/ https://www.linkedin.com/in/maximilian-schwarzmueller/ https://www.linkedin.com/in/manuel-lorenz-808b5185/ https://www.linkedin.com/company/academind-gmbh https://www.linkedin.com/school/academind-pro https://www.tiktok.com/@academind_real 00:00:00 useEffect() is often used incorrectly! 00:01:58 useEffect() basics 00:03:16 Setting dependencies correctly 00:08:27 Avoid infinite loops 00:09:56 Introduction to the problem of using useEffect() unnecessarily 00:10:20 Example 1: Use derived state instead 00:12:49 Example 2: Reset state with keys instead 00:17:15 Example 3: Don’t wrap synchronous APIs with useEffect() 00:18:32 Sometimes you DO need useEffect() 00:19:32 Consider replacing direct useEffect() usage with specialized libraries
React Dev Essentials
AI-recommended products based on this video

NEXPOW Car Jump Starter,Car Battery Jump Starter Pack 1500A Peak Q10S for Up to 7.0L Gas and 5.5L Diesel Engine12V Auto Battery Booster,Jumper Cables,Portable Lithium Jump Box with LED Light/USB QC3.0

Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

FEREDO KIDS Party Favors for Kids: 16 Pack Rainbow Scratch Art Notebook Students Classroom Goodie Bag Items Bulk for Girls Boys Loot Bag Fillers, Return Gifts for Birthday Party Gifts Kids Crafts

















![Vue 3 Composition API Introduction [FULL TUTORIAL]](https://imgz.pc97.com/?width=500&fit=cover&image=https://i.ytimg.com/vi/bwItFdPt-6M/hqdefault.jpg)

