Rethinking Redux
Arunoda Susiripala
1087

Your diagram states that Reducers replace State; they create a new State (current State plus changes). This is a very important point that State is immutable. You also did divide React components into Containers (know about Reduct) and regular Component (doesn’t about Redux).

“Most of the app is pure functions, including the UI.” I am curious to how you came to this conclusion. You can build the UI with Angular templates/controllers or React classes without those being pure JavaScript functions. However, in React, you can use functional stateless components, if you don’t need lifecycle methods or state in your component.

Best

Like what you read? Give Dan a round of applause.

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