logoalt Hacker News

mrkcsctoday at 2:16 AM1 replyview on HN

> I feel like virtualization is not the right way to handle things.

How would you handle it?


Replies

charcircuittoday at 3:22 AM

Keep things as simple as possible and put the whole thing in the DOM. Then if there are performance problems address the scaling problems themselves instead of trying to avoid scaling. For example things like only rendering what is visible should be handled by the browser and not by messing with the DOM. The DOM is not synchronized with the browser's renderer so it will always end up hacky.

show 1 reply