I feel like I am not understanding some of the benefits here. It seems like syntactically it is nearly the same. I can see potential benefits if you wanted to put validation for setting properties in the class as then it is not in the reducer, or more cleanly handling multiple properties changing due to one action. I personally tend to do that either before actions are dispatched or in "conditional" actions themselves, as an alternative mechanism for keeping the reducer itself simple. Not sure how I would combine the two approaches myself, but I can easily see others making use of this pattern.
Thoughts on other benefits or use cases?
Sorry for the delay answering this. I made another post talking about this, and a style guide proposal. I answer what you are asking here:
This is a personal opinion, but when you see the code, you see the benefits of using this approach.
Thanks you so much for your feedback, and I hope you like the proposal.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.