News for hackers. Stuff that matters.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by cududa on Tuesday January 20, 2026 @09:17PM (#46700383)
Thanks for sharing. Very … interesting. Just trying to understand why the heck would React be the best tool here?
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by zlumer on Tuesday January 20, 2026 @10:12PM (#46700680)
React is just an abstraction of a State -> View function.

While not universally applicable, it's very convenient during development to focus on State without thinking about View, or focus on View without thinking about State.

The concept itself has nothing to do with the actual renderer: HTML, TUI, or whatever. You can render your state to a text file if you want to.

So the flickering is caused either by a faulty renderer, or by using a render target (terminal) that is incompatible with the UI behavior (frequent partial re-renders, outputting a lot of text etc.)

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by anematode on Tuesday January 20, 2026 @09:28PM (#46700455)
I genuinely thought this was satire until I looked it up. I guess it's just to make us webdevs feel at home in the Terminal (ooh, spooky!)
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by Atotalnoob on Tuesday January 20, 2026 @10:58PM (#46700913)
React separates into layers.

Any web react project out there will install react AND react-dom, which is the son implementation of react.

It’s how react translates into mobile, web, etc so well.

It defines contracts and packages like react-dom handle th specific implementation.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by catlifeonmars on Wednesday January 21, 2026 @01:09AM (#46701747)
Building a react renderer has long been on my wish list of weekend (>1 weekend most likely) projects.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by rvz on Tuesday January 20, 2026 @09:32PM (#46700479)
Thats the problem. Some developers want to avoid learning another programming language and use one for everything (including their technologies.)

Using TS, React here doesn’t make sense for stability in the long term. As you can see, even when they replaced Ink and built their own, the problem still exists.

There are other alternatives that are better than whatever Anthropic did such as Bubbletea (Go) or Ratatui (Rust) which both are better suited for this.

Maybe they were thinking more about job security with TypeScript over technical correctness and a robust implementation architecture and this shows the lack of it.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by catlifeonmars on Wednesday January 21, 2026 @01:11AM (#46701761)
I’m a fan of Bubbletea, but it is significantly less ergonomic than React. Although I’d argue that if that starts to matter significantly, your TUI is probably too cluttered anyway and you should pare it down.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by guluarte on Tuesday January 20, 2026 @10:41PM (#46700828)
gemini-cli, opencode are also react based
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by esafak on Wednesday January 21, 2026 @01:08AM (#46701740)
Opencode uses SolidJS:

    We moved from the go+bubbletea based TUI which had performance and capability issues to an in-house framework (OpenTUI) written in zig+solidjs
https://opencode.ai/docs/1-0/