re: What’s the most interesting new or upcoming browser feature? VIEW POST

FULL DISCUSSION
 

I'm personally looking out for requestIdleCallback. It's a method which allows the browser window to execute a queue of code during idle times as to not interfere with critical processes which affect the user's experience. It should be a major jank killer.

I have conditionally mixed it into some of my code already. Since it's already supported by Chrome, it's a worthwhile addition to certain parts of code, but you cannot quite architect around its presence yet.

 

I'm using it now for firing non-critical tasks Google Analytics events. Firefox will support requestIdleCallback in v52.

code of conduct - report abuse