dopey_kun, I think it's the first time I'ved used a reducer in React in like 3 years (last time was when I used Redux). I always avoided them because of how boilerplate-y they were, but honestly, they're awesome considering the alternative of a whole bunch of useState and useEffect spaghetti.
Add comment