DEV Community

Discussion on: useReducer() Hook: Let me dispatch it

 
martinpham profile image
Martin Pham • Edited

Before laughing, you didn't realize that I'm talking about the object literal vs switch-case, and explaining why your solution is worse?