News for hackers. Stuff that matters.
Re:Get to Know the Actor Model with JavaScript by boobsbr on Wednesday September 06, 2017 @03:23AM (#15181807)
The article is focused on explaining the design pattern, while Redux is influenced by the pattern.

From my understanding, Redux shares the actor/messaging pattern when dispatching events to the reducers, but the state in Redux tends to be centralized (you usually have one main store, but you can create other stores if you want), while in the Actor pattern, each object has it's own state.

Also, in Redux, information flows only in one direction: component => reducer => state. The Actor pattern seems to allow for actors to message each other back and forth.

Re:Get to Know the Actor Model with JavaScript by kevmo314 on Wednesday September 06, 2017 @11:45AM (#15184551)
Thanks for that explanation, that makes a lot of sense. See, if that had been included in the original article, I would've grasped it much more quickly, instead of being left wondering if Redux is implementing this pattern or I'm missing an obvious difference, and I'm sure it would've helped others too.