Syntax – Tasty Web Development Treats
In this Hasty Treat, Scott and Wes talk about React Hooks and why you might want to use them instead of class components.
Sentry - SponsorIf you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code “tastytreat”.
Show Notes03:54 - Decouple the UI from the logic
10:31 - Reduction in code
13:30 - useEffect’s dependencies
14:15 - Easier to grok
16:09 - Simplicity in usage
21:07 - Gripes about Hooks
En liten tjänst av I'm With Friends. Finns även på engelska.