react-native-cached-image
react-native-cached-image copied to clipboard
serious impact on performance
Without react-native-cached-image
With react-native-cached-image
Just changing:
<Image style={styles.imageItem} source={{ uri: imageObj.cloudinaryUrl }} resizeMode='contain' />
to
<CachedImage style={styles.imageItem} source={{ uri: imageObj.cloudinaryUrl }} resizeMode='contain' />
Testing in ios 10.3
Environment:
OS: macOS Sierra 10.12.6
Node: 9.5.0
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.7.0
Xcode: Xcode 8.3.2 Build version 8E2002
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.0 => 0.52.0
"react-native-cached-image": "^1.4.3",
@jose920405 Experienced the same thing today. After doing some research, I found that it happened after updating react-native from 0.51.0 to 0.53.x. After downgrading react-native back to 0.51.0 it started to work well as before.
@bvv218 ..
thank you very much,
is exactly the same as I did a few days ago ... I will move to the previous react-native version to check it
Not related to this but how do you get the memory usage? Any tool or way to get this meter UI.
Xcode
Any updates on this?