4 ms·
While I agree with a lot of the summary of the article, I personally would not call Redux event driven. Events have a fairly familiar context (that is evoked in
by kls 7y ago
While I agree with a lot of the summary of the article, I personally would not call Redux event driven. Events have a fairly familiar context (that is evoked in peoples minds, who are familiar with them) and that is closer to a pub sub of loose events. where a signature is published and possibly data is published, and then subscribes are added vi a reference to a function.
I would call Redux and Action based function where an Action is passed into a function and then a switch statement decides what to do with said action.
It is a small nuance but there is a difference, I personally prefer event based systems as they tend to produce less boilerplate, but in the grand scheme of things Redux is a great library so it is not that much of an issue to use their Action based semantics as it accomplishes they same end result.