4 ms·
I think it’s rerendering the “UI” on data updates. Basically exactly the readme for ink. It’s a single log line of output, but it’s repainted in place, not appe
by alexeldeib 3y ago
I think it’s rerendering the “UI” on data updates. Basically exactly the readme for ink. It’s a single log line of output, but it’s repainted in place, not appended to stdout.
Sure you can do that other ways. Personally I’d love to build terminal tuis with react component!
- gkfasdfasdf 3y agoThanks I have never used react and this comment was very helpful, even after reading the project readme.
- nonethewiser 3y agothank you for clarifying. that makes sense and does sound nice to re-render the same line instead of logging a new line each time. I do think it would be simpler/faster (albeit maybe not nicer) to log a message w/ timestamp to accomplish the same thing, putting this in the "nice to have" category.
- twobitshifter 3y agoIf it’s just a single line using carriage return must be easier, right? I could see it being useful for something like a more complex tui dashboard.