4 ms·
Maybe your application isn't that complex, and it's more succinctly modeled as as an object or two with mutable state. (E.g. a media player.) Maybe your applic
by zachrose 11y ago
Maybe your application isn't that complex, and it's more succinctly modeled as as an object or two with mutable state. (E.g. a media player.)
Maybe your application is simpler to model as a mutable assembly of little pieces, where the protocols between those pieces are more important than managing their arrangement. (Maybe like in a modular synth?)
Maybe an existing team or project already has a good thing going without using Flux.
However, all of these are pretty thin and narrow. Getting rigorous control of the state of your program is actually super useful, as is treating events like immutable facts that build upon each other.