reactjs - Is React implementing the Actor Model? -


the actor model asserts individual actors can only:

  • receive messages
  • modify own local state
  • create actors
  • send messages actors addresses have received or have created.

react asserts components can only:

  • receive data through props
  • modify own local state
  • only send messages components have created passing props.

in sense, react implementing subset of actor model, albeit in 1 direction (parent child)?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -