logoalt Hacker News

imjonseyesterday at 8:58 PM1 replyview on HN

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.


Replies

javcasasyesterday at 9:14 PM

React 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.

show 1 reply