Every Beginner React Developer Makes This Mistake With State
Web Dev Simplified
FREE React Hooks Course: https://courses.webdevsimplified.com/react-hooks-simplified
By far one of the biggest beginner React mistakes I see is developers storing derived state. This is a huge problem that is incredibly hard to detect unless you know what you are looking for. In this video I will show you what the signs are of derived state so you can make sure you never store derived state.
š Materials/References:
FREE React Hooks Course: https://courses.webdevsimplified.com/react-hooks-simplified Derived State Blog Article: https://blog.webdevsimplified.com/2019-11/never-store-derived-state
š Find Me Here:
My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified
ā±ļø Timestamps:
00:00 - Introduction 00:48 - Derived state problem 02:45 - How to fix the problem 04:26 - Performance considerations
#React #WDS #useState ... https://www.youtube.com/watch?v=tz0fDABt67g
67303618 Bytes