It sounds like two different ideas, one for the Flux / uniflow pattern, and the other for using the react hooks as an interface. These are two separate things.
Personally I'm not fond of the React hook pattern. It's actually breaking the functional programming approach (because it's literally side effects). That said, it has proven to be an interface that is easy to use, and an intuitive abstraction (although I think it's the wrong abstraction if the objective is more functional approach).
The suggestion to use the Flux pattern to build agents is really interesting. Redux would be a good library to use here. On a more meta level, if AI is going to continue getting smarter and having more agentic features, then using patterns to build agents is probably a short term solution, since eventually this will all be handled by one AI as they get smarter and more capable.