Jank-free animation in Meteor

I’ve noticed that unexpected reactive updates can turn animations into jank. For example, the user of one client could trigger a database update that goes back through the network and hits all the other clients, causing potentially data-intensive reactive computations while some of those clients are in the middle of animating a menu or transitioning from one view to another.

Is there a way to pause reactivity for one, many, or all subscriptions in Meteor?

If not, such an API would be great for anyone that wants to create smooth visual animations. The Meteor guide would show small examples using well-known libraries like Three.js, A-Frame, Anime.js, or perhaps even Meteor’s own graphical layer

Possibly related:

1 Like