Too Long; Didn't Read
Using JS/TS and React, we can use a tool to break up a process that takes more than 16m/s. We can ask the system to "run this in idle when you've got this much time free" The technique is quick to implement and can be a useful technique in some circumstances. The tool is available on the MIT-licensed package JS-corines and React.js. It uses most of the idle time on each frame to run some of the standard functions, keeping animations and scrolling smooth.