Do these new technologies enable lower mouse-event latencies? I struggle with making even the simplest 2d apps in a canvas element, because they always end up feeling sluggish. This was and still is a major point where Flash beats HTML5.
The mouse move events have to be filtered to be less frequent to accommodate some of the limitations of the JavaScript concurrency model.
Honestly, it would be wonderful if we had immediate mode APIs for everything instead of being forced to register event handlers, which will always lag at least 1 frame behind.
But as you say, that retains all the disadvantages of event latency.
requestAnimationFrame is designed for immediate mode rendering, so it should probably pass its callback some information about input states or offer some other way of getting that.