File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/default/src/screens/apm Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable react-native/no-inline-styles */
12import type { NativeStackScreenProps } from '@react-navigation/native-stack' ;
23import React , { useEffect , useRef , useState } from 'react' ;
34import {
@@ -112,7 +113,9 @@ const AnimatedBox: React.FC<{ isBlocking: boolean; blockingIntensity: number }>
112113
113114 // Generate many layout-heavy elements to stress native thread
114115 const generateHeavyNativeElements = ( ) => {
115- if ( ! isBlocking ) return null ;
116+ if ( ! isBlocking ) {
117+ return null ;
118+ }
116119
117120 const elementCount = blockingIntensity === 1 ? 50 : 200 ; // More elements = more native work
118121
@@ -440,6 +443,3 @@ const styles = StyleSheet.create({
440443} ) ;
441444
442445export default ScreenRenderPage ;
443-
444- // Export the screen name constant for navigation
445- export const SCREEN_NAME = 'ScreenRender' ;
You can’t perform that action at this time.
0 commit comments