Comment by tlxio
3 months ago
Would you happen to have (sample) or open-source Rust code out there demonstrating this approach? I'm very curious to learn more.
For example; if you have a progressbar that needs to be updated continuously, you do what? Upon every `tick` of your Rust engine you send a new struct with `ProgressBar(percentage=x)`? Or do the structs have unique identifiers so that the UI code can just update that one element and its properties instead of re-rendering the entire screen?
No comments yet
Contribute on Hacker News ↗