3 ms·
You're... dragging an empty div around. You know what else doesn't choke? Me dragging absolutely any window on my PC. It will happily do so at 120Hz without chu
by ohgodplsno 5y ago
You're... dragging an empty div around. You know what else doesn't choke? Me dragging absolutely any window on my PC. It will happily do so at 120Hz without chugging. It even does crazy things, such as playing games with complex event loops at 120FPS.
The fact that you're excited at how dragging a single div around actually works as expected is a testament to how horrifyingly low your expectations are.
- ex3ndr 5y agoFor JS it is the same - moving empty div or moving whole window - it is still same amount of code and actual moving is always on different threads. It works for native apps too.