Status of preventShadowTreeCommitExhaustion and its Reanimated pairing (DISABLE_COMMIT_PAUSING_MECHANISM)
#315
Unanswered
alexnaiman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I'd like to get a clearer picture on the current status and roadmap of the
preventShadowTreeCommitExhaustionfeature flag.We're seeing scroll jitter on animated components with the New Architecture enabled, and Reanimated's performance docs point to
preventShadowTreeCommitExhaustion(RN side) paired withDISABLE_COMMIT_PAUSING_MECHANISM(Reanimated side) as the main fix.The feature flags docs recommend enabling
preventShadowTreeCommitExhaustionvia a patch toReactNativeFeatureFlagsDefaults.hand building React Native from source, rather than settingreactNativeReleaseLeveltoexperimental(which pulls in unrelated flags). They also note this will ultimately be addressed by a Fabric commit branching mechanism, which landed in RN 0.85 behind its own feature flag (facebook/react-native#54835).This same patch-based workaround is also referenced in reanimated#6992 (sticky header flickering with
useAnimatedScrollHandler), and prior discussion in reanimated#8950 (Feb 2026) touches on the same topic.Questions:
preventShadowTreeCommitExhaustionpatch + build-from-source approach considered safe for production apps today?preventShadowTreeCommitExhaustionstill be relevant, or does it become redundant?Thanks!
All reactions