Skip to content

Conversation

animaonline
Copy link

This PR upgrades the shifty dependency to version 3.0.4 to address the high CPU usage issue caused by excessive requestAnimationFrame calls in previous versions.

Changes:

  • Updated Shifty to the latest version (3.0.4)
  • Tested for CPU usage improvements

Why:

  • The previous version of Shifty caused unnecessary high CPU usage across major browsers, leading to performance issues, especially on idle states. See this issue for more: High CPU Usage When Importing Shifty jeremyckahn/shifty#187
  • The issue has been reported and acknowledged in the Shifty GitHub repository, with the author addressing it in recent updates. Version 3.0.4 includes optimizations that should mitigate the performance impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant