Getting the Team Up to Speed With Our Front-End Architecture Part 3: Keeping the Reducer Pure

Reducers should be pure functions. What this means is that there should be no side effects. Now, what this really means is return values are only determined by input values. When using redux API calls are common place inside of reducer to handle sending/receiving data. However, this ruins the idea of keeping our reducer pure…