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 -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

Python Tornado package error when running server -