Why I Never Use React Context!? It's all because of how Context works by passing down props to every single child. And when a single state value gets updated the whole children tree gets re-rendered 😅
Yep. You are reading that correctly! That's a defect in React context and how it's implemented internally! Fortunately, there is a fix for it! In this video, we'll explore why you should avoid using Context medium to large-sized applications and what you should use instead?
🎉Our Newsletter is live! Join thousands of other developers
https://islemmaboud.com/join-newsletter
⭐ Timestamps ⭐
00:00 Intro
01:10 1- Naming Conventions
00:57 Bad Context
05:50 React docs fix
06:46 Official React Team fix (It's not here yet)
07:34 Use this Library instead ✅
11:53 It's not perfect after all!
-- Special Links
✨ Join Figma for Free and start designing now!
https://psxid.figma.com/69wr7zzb1mxm
👉 ✨ Join Figma For Professionals And Start Designing with your Team ✨
https://psxid.figma.com/ucwkx28d18fo-...
🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize
• Build Login/Register API Server w/ Authent...
🧭 Turn Design into React Code | From prototype to Full website in no time
• Turn Design into React Code | From prototy...
🧭 Watch Tutorial on Designing the website on Figma
• I Design a onecolor Website in 1 hour | De...
🧭 Watch Create a Modern React Login/Register Form with Smooth Animations
• Create a Modern React Login/Register Form ...
🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools
• Debug React Apps Like a Pro | Master Debug...
🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React
• Master React Like Pro w/ Redux, Typescript...
🧭 Learn Redux For Beginners | React Redux from Zero To Hero to build a real-world app
• Debug React Apps Like a Pro | Master Debug...
🧭 Introduction to GraphQL with Apollo and React
• Introduction to GraphQL with Apollo and React
👉 Personal Links:
✨ My Portfolio https://islemmaboud.com
🐦 Follow me on Twitter: / ipenywis
💻 GitHub Profile https://github.com/ipenywis
Made with ❤️ by Coderone
コメント