4 ms·
React turns out to be a powerful tool to management the state of anything hierarchical and dynamic. For the UI, we can show stuff dynamically with JSX; and the
by osmoscraft 1y ago
React turns out to be a powerful tool to management the state of anything hierarchical and dynamic.
For the UI, we can show stuff dynamically with JSX; and the JSX would include actions that let user modify the state; the updated the state would trigger a re-rendering of UI to reflect the latest the state.
What if we can apply this paradigm to model Human + AI interacting with a shared piece of state? We can let React and LLM see the same state and use the same tools to change that change.