This New React Hook Breaks All The Rules And I Love It
Web Dev Simplified
FREE React Hooks Simplified Course: https://courses.webdevsimplified.com/react-hooks-simplified
The newest React hook, use, is a really unique and interesting hook that breaks all the rules for hooks. This hook can be used conditionally and inside loops unlike any other hook. This hook also removes the need for many useEffect statements which I am a huge fan of.
š Materials/References:
FREE React Hooks Simplified Course: https://courses.webdevsimplified.com/react-hooks-simplified
š 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:30 - Setup 01:43 - use Hook Implementation 03:00 - Loading State (Suspense) 04:14 - Error Handling 05:27 - use Hook Rules
#useHook #WDS #ReactJS ... https://www.youtube.com/watch?v=zdNF9FJWJ8o
72231585 Bytes