React Hooks Is All You Need
stackdiver.com
React Hooks Is All You Need
1–5 of 5 posts
Re: React Hooks Is All You Need
#2Source code and demos: https://github.com/chuanqisun/react-agent-hooks
Re: React Hooks Is All You Need
#3Personally 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.
Re: React Hooks Is All You Need
#4It 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…
Re: React Hooks Is All You Need
#5It 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…
Smelling bitter lesson... but what if the auto-regressive architecture is actually a form of Redux?