React Hooks have been out for a couple of months now. I’ve had the chance to play with them during that time and recently found an amazing example of where the useReducer Hook really shines.
I was so excited about how much stronger useReducer made my components that I had to share it with you.
Have a watch and let me know if you also love useReducer!
——————
BLOG POST: https://hswolff.com/blog/why-i-love-u...
SOURCE CODE: https://github.com/hswolff/youtube/tr...
PATREON: / hswolff
TWITTER: / hswolff
SITE: https://hswolff.com/