GitHub - astoilkov/main-thread-scheduling: Fast and consistently responsive apps using a single function call
main-thread-scheduling
Fast and consistently responsive apps using a single function call
Install
npm install main-thread-scheduling
Overview
The library lets you run computationally heavy tasks on the main thread while ensuring:
Your app's UI doesn't freeze.
Your users' computer fans don't spin.
It can be easily integrated into your existing codebase.
A real-world showcase of searching in 10k files and getting results instantly — https://twitter.com/antoniostoilkov/status/1539576912498118656.
U...
Read more at github.com