These are chat archives for jdubray/sam

Oct 2016
Jean-Jacques Dubray
Oct 08 2016 12:22
@edmulraney If you look at that example, React controls the handoff between the model and the State/View, for instance nap() is called in render(). On the other hand ng2 makes it easy to completely separate the SAM loop from the framework. With Angular2, actions, model and state function are all outside the framework, which I would prefer any time. I may not know React well enough to have found the optimal solution, but I would argue that React is not just the View in MVC. That was more of a marketing argument, it's difficult to fit the M and the C outside a React application.
MobX is far more open that way even though it is as reactive as React. Perhaps that's why the React community is so enthusiastic about it.