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
Post a Comment