One Cool Trick to Simplify Reducer Functions

By Eric Elliott.

View original

Excerpt: Redux is an amazing tool if you take the time to get to know it. One of the things about Redux that commonly trips people up is that reducers must be pure functions. The problem is that sometimes a…