Why 120 FPS is disabled by default in earlier react-native versions? #9641
Replies: 1 comment
|
To answer the concrete part first: yes, On whether flipping it on manually for an older RN version is safe: I don't have a documented answer for why it specifically stayed opt-in before 0.82 (the changelog doesn't spell out a "known issue" that gated it, just that the default flipped at that version), so I'd be guessing if I claimed a specific regression it was protecting against. What is documented is that the New Architecture currently has its own separate FPS regressions under load (frame drops while scrolling with many animated components, and lower FPS running multiple simultaneous animations), with dedicated flags to mitigate those ( |
Uh oh!
There was an error while loading. Please reload this page.
Hey guys,
There's something I wanted to ask about regarding the 120 FPS animations:
https://docs.swmansion.com/react-native-reanimated/docs/guides/performance/#-enable-120-fps
I noticed that this seems to be enabled by default on iOS starting from react-native 0.82
Is there a reason why it wasn't enabled by default on earlier react-native versions? Were there any known issues, performance concerns, or compatibility problems?
my main question is: if I'm using the old Architecture and CADisableMinimumFrameDurationOnPhone is currently false, is there any risk in enabling it on earlier react-native versions, or should it generally be safe?
Just trying to understand if there are any defects or weird behavior before rolling it out to production.
thanks
All reactions