requestAnimationFrame optimization (#4115)
* requestAnimationFrame optimization Optimizes animation by doing the following changes: - Moves offsetWidth, innerWidth like expensive calculations out of requestAnimationFrame - Adds menu mode change control before requesting the animation frame * fix: Uses object destructuring to read state property
Showing
Please register or sign in to comment