How does Textual render? #514
Answered
by
willmcgugan
ThatXliner
asked this question in
Q&A
-
I was reading #509 when I saw
Does Textual optimize rendering like React's virtual DOM (or even better, something like Svelte)? Or does it not optimize at all? How does it render stuff and know what to change, etc, etc, etc?? |
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
May 16, 2022
Replies: 1 comment 1 reply
-
Well I don't know how these libraries do it, but Textual will compare one frame to the next to calculate deltas, and will batch changes over 50ms to reduce updates. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ThatXliner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well I don't know how these libraries do it, but Textual will compare one frame to the next to calculate deltas, and will batch changes over 50ms to reduce updates.