You should Avoid these React useEffect Mistakes

CoderOne
CoderOne
41.4 هزار بار بازدید - 2 سال پیش - We have all used and
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 ✅    • Why I avoid useEffect For API Calls a...   🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize    • Build Login/Register API Server w/ Au...   🧭 Turn Design into React Code | From prototype to Full website in no time    • Turn Design into React Code | From pr...   🧭 Watch Tutorial on Designing the website on Figma    • I Design a onecolor Website in 1 hour...   🧭 Watch Create a Modern React Login/Register Form with smooth Animations    • Create a Modern React Login/Register ...   🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools    • Debug React Apps Like a Pro | Master ...   🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React    • Master React Like Pro w/ Redux, Types...   🧭 Learn Redux For Beginners | React Redux from Zero To Hero to build a real-world app    • Debug React Apps Like a Pro | Master ...   🧭 Introduction to GraphQL with Apollo and React    • Introduction to GraphQL with Apollo a...   🐦 Follow me on Twitter: twitter.com/ipenywis 💻 Github Profile: github.com/ipenywis Made with 💗
2 سال پیش در تاریخ 1401/09/20 منتشر شده است.
41,454 بـار بازدید شده
... بیشتر