by stingraycharles · 4y ago · 0 comments
I would expect the changes to be visible ideally in the next frame, but I guess that’s not really an option?
The compromise would be to always start rendering immediately rather than wait x ms, but if you detect that the previous rendering hasn’t completed when the next input has arrived then you can start debouncing before rendering until you catch up.