You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 006d7e3
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(mobile): stop the work-row shimmer from updating every frame (#28530)
// Runs on React Native's native driver instead of Reanimated, whose
280
-
// per-frame commits starve React's while commit pausing is disabled
281
-
// (package.json). See docs/internals/performance-regressions.md.
282
-
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- starts the native-driver shimmer loop while visible and active, and stops it on cleanup
278
+
// Uses a native Animated value instead of Reanimated, whose per-frame commits
279
+
// starve React's while commit pausing is disabled (package.json). See
280
+
// docs/internals/performance-regressions.md.
281
+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- steps the native shimmer value on timers while visible and active, and stops them on cleanup
0 commit comments