4 ms·
They forgot to add 'make it as simple as possible' in the prompt is one possible cause. On a more serious note using a react-like lib for TUI in the hope you'l
by imjonse 4mo ago
They forgot to add 'make it as simple as possible' in the prompt is one possible cause.
On a more serious note using a react-like lib for TUI in the hope you'll share the codebase with the web version is a more likely explanation. Still not the best idea.
- javcasas 4mo agoReact is not that stupid to re-render in a loop at 60fps and instead waits for changes to happen before re-rendering. It even batches changes and stuff.
- the_gipsy 4mo agoYou don't need React for reactive TUIs - at all. I can understand chosing React for web, but for a TUI it sounds like a really poor idea. And in practice we can see that the claude code TUI is also poor.
- uxhacker 4mo agoSo how much more improvements are there for efficiency in the Claude code base if they are using react for a tui, in the rest of the code? I also wonder about the wasted cycles and just the environmental damage caused by all these wasted cpu time . (Edited added a comma for clarity)