5 ms·
Isn't that what reactive ui trying to achieve? To only have a render function and have ui state sync according to the data?
by chill1234 6mo ago
Isn't that what reactive ui trying to achieve? To only have a render function and have ui state sync according to the data?
- incrudible 6mo agoGames do not sync data, they literally say what should be drawn on the screen, from scratch, 60+ times per second. They are in control of the entire process. They do not need to deal with DOM manipulation overhead because there is no DOM.
- chill1234 6mo agoYes, in web to always draw from scratch, it would be slow, therefore exists reactive UI, so people can program like drawing from scratch but less slow.