DEV Community

Cover image for The ultimate "Glitch free JS" library has lost weight!
Mike Talbot ⭐
Mike Talbot ⭐

Posted on

10 3

The ultimate "Glitch free JS" library has lost weight!

For the last year js-coroutines has been enabling me and others to split up glitchy long-running processes over multiple frames to keep our sites and apps running silky smooth and also powering some nice animations and ways of controlling effects and games. With this library, you can filter/sort or run your own complicated calculations on huge volumes of data without breaking the animations or scrolling of your site. You do this without Worker threads because passing data to and from them also can cause glitches.

I thought it was time to put the library on a diet and have managed to shrink it by around 30%. The library is super easy to use with full API documentation and has both imperative and functional programming models supported (including the addition of compose in the latest release).

For an example of what you can do with js-coroutines check out the demos below:

Smooth animation with heavy weight processing

A cool little game

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (1)

Collapse
 
artydev profile image
artydev

Great thank you very much

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more