Skip to content

Commit 6ee3030

Browse files
committed
fix(app): reanimated perf
1 parent 01cfa3a commit 6ee3030

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

app.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,15 @@ const config: ExpoConfig = {
217217
{
218218
ios: {
219219
useFrameworks: 'static',
220-
// buildReactNativeFromSource: true,
221220
forceStaticLinking: ['RNFBApp'],
222221
deploymentTarget: '26.0',
222+
reactNativeReleaseLevel: 'experimental',
223223
},
224224
android: {
225225
enableProguardInReleaseBuilds: true,
226226
enableShrinkResourcesInReleaseBuilds: true,
227227
useLegacyPackaging: true,
228+
reactNativeReleaseLevel: 'experimental',
228229
},
229230
},
230231
],

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,5 +323,13 @@
323323
"react-native-unistyles"
324324
]
325325
}
326+
},
327+
"reanimated": {
328+
"staticFeatureFlags": {
329+
"DISABLE_COMMIT_PAUSING_MECHANISM": true,
330+
"USE_COMMIT_HOOK_ONLY_FOR_REACT_COMMITS": true,
331+
"ANDROID_SYNCHRONOUSLY_UPDATE_UI_PROPS": true,
332+
"IOS_SYNCHRONOUSLY_UPDATE_UI_PROPS": true
333+
}
326334
}
327335
}

0 commit comments

Comments
 (0)