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

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

Like what you read? Give Alex Moldovan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.