Image flickering, react-native-fast-image alternative for Expo?

Please provide the following:

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): all

Is there an alternative to https:// react-native-fast-image that we can use in managed workflow projects?

I am having issues with flickering in the native Image component.

Could you post some example code that shows this problem?

I also had problems with flickering but on ImageBackground. As I searched for an alternative for react-native-fast-image I didn’t found one for the managed workflow. What helped me was setting the Image source this way:

<ImageBackground
   source={image}
   defaultSource={image} // fixes flickering
   style={[styles.fieldContainer, { backgroundColor: gameFieldColor }]}          
>

I read this somewhere on stack overflow and well it helped in my case.

How are you importing the image file there, normal require()?

Ah sorry, yes. Like so:

const image = require(’…/…/…/…/assets/Melamine-wood-001.png’);