Am I allowed to perform impure actions like backend calls in order to compute derived data on…
Anyul Rivas
1

reducers, selectors and action creators should be pure functions. backend calls should be made through middlewares or something similar.

operations depend on dispatch so they are not really pure, but they should only contain the logic for chaining operations, not implementation details about the api interface

Show your support

Clapping shows how much you appreciated Alex Moldovan’s story.