Let’s say that we want to write some button component with react.js. The button can be a call-to-action button (user; please click here), and some default button design that are more neutral.
Let’s look at a function first:
Let's compare Redux, plain React, and RxJS as tools for state management.
Note: Different mental models will favour different tools. See this as a starting point for further discussion, not as a final answer.