The Flux design pattern created by Facebook, and used by Redux and nearly every ReactJS app, is by definition a State Design Pattern as described in Gang of Four lol.
"Allow an object to alter its behavior when its internal state changes. The object will appear to change its class".
You think that's somehow primarily a GUI-related pattern? Let's see what the authors say about "Motivation"
"Consider a class TCPConnection that represents a network connection. ..."
Oh, right. It has nothing to do specifically with GUI programming, but is, like more or less all the other 22 patterns, a general pattern for writing good object oriented code.
Everyone should know these patterns. It's great if ReactJS pushes people towards using this one. It doesn't have much to do with UI/UX implementation in either web or native contexts, IMO.
Oops my bad Paul, I think you are correct! I didn’t bother to look at the username before I started commenting.
But to further the convo, State isn’t a GUI related pattern. It’s the dominant design pattern used by modern JS frameworks for persisting data across the GUI.
“Consider a Redux class ProductState that represents an Axios network connection. …”