You should Avoid these React useEffect Mistakes

You should Avoid these React useEffect Mistakes

41.876 Lượt nghe
You should Avoid these React useEffect Mistakes
📚 Learn to write cleaner React code with the new SOLID React book: https://solidreact.dev We have all used and worked with useEffect, and we always get into weird situations where using useEffect seems cumbersome or wrong. If you misuse useEffect it could lead you to unnecessary multiple re-renders or even unexpected bugs and behaviours of your UI components. In this video, we'll explore the most important aspects you should keep an eye on when using React. ⭐ Timestamps ⭐ 00:00 Intro 01:06 useEffect - from the React creators 02:34 01 - Transforming Data 05:19 02 - Handling Events 08:12 03 - Fetching Data 10:31 04 - Large Components 12:53 05 - Advanced Logic Watch This 👇 👌 Why I avoid useEffect For API Calls and use React Query instead ✅ https://www.youtube.com/watch?v=Kjkx2BASAZA 🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize https://youtu.be/VWEJ-GhjU4U 🧭 Turn Design into React Code | From prototype to Full website in no time https://youtu.be/0xhu_vgKZ8k 🧭 Watch Tutorial on Designing the website on Figma https://youtu.be/SB3rt-cQZas 🧭 Watch Create a Modern React Login/Register Form with smooth Animations https://youtu.be/-bll7l-BKQI 🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools https://youtu.be/_rnxOD9NKAs 🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React https://youtu.be/M_Oes39FNuk 🧭 Learn Redux For Beginners | React Redux from Zero To Hero to build a real-world app https://youtu.be/_rnxOD9NKAs 🧭 Introduction to GraphQL with Apollo and React https://youtu.be/eCO6MvvRhXk 🐦 Follow me on Twitter: https://twitter.com/ipenywis 💻 Github Profile: https://github.com/ipenywis Made with 💗 by Coderone