4 ms·
>>In other words, you don't execute code by calling it by name: you send some data (a message) to an object and it figures out which code, if any, to execute in
by barberousse 7y ago
>>In other words, you don't execute code by calling it by name: you send some data (a message) to an object and it figures out which code, if any, to execute in response. In fact, this can improve your isolation because the receiver is free to ignore any messages it doesn't understand. It's a paradigm most are not familiar with, but it's powerful.
A Redux reducer consuming an Action object would possess the same properties, no?