There are absolutely things wrong with that, because React was designed to solve problems that don't exist in a TUI.
React fixes issues with the DOM being too slow to fully re-render the entire webpage every time a piece of state changes. That doesn't apply in a TUI, you can re-render TUIs faster than the monitor can refresh. There's no need to selectively re-render parts of the UI, you can just re-render the entire thing every time something changes without even stressing out the CPU.
It brings in a bunch of complexity that doesn't solve any real issues beyond the devs being more familiar with React than a TUI library.
https://www.youtube.com/watch?v=LvW1HTSLPEk
I thought this was a solid take
interesting
There are absolutely things wrong with that, because React was designed to solve problems that don't exist in a TUI.
React fixes issues with the DOM being too slow to fully re-render the entire webpage every time a piece of state changes. That doesn't apply in a TUI, you can re-render TUIs faster than the monitor can refresh. There's no need to selectively re-render parts of the UI, you can just re-render the entire thing every time something changes without even stressing out the CPU.
It brings in a bunch of complexity that doesn't solve any real issues beyond the devs being more familiar with React than a TUI library.
It is demonstrably absolutely fine. Sheesh.
I haven't looked at it directly, so I can speak on quality, but it's a pretty weird way to write a terminal app
It’s unusual but it’s a better fit for agentic coding so it makes sense
Oh come on. It's massively wrong. It is always wrong. It's not always wrong enough to be important, but it doesn't stop being wrong
No, it’s not.
You should elaborate. What are your criteria and why do you think they should matter to actual users?
I use AI and I can call AI slop shit if it smells like shit.
And this doesn’t.