DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.1k stars 1.48k forks source link

Unimplemented component FastImage, React native 0.68 #897

Open chellongCoder opened 2 years ago

chellongCoder commented 2 years ago

Describe the bug Error when use FastImage

To Reproduce Steps to reproduce the behavior if possible, or a link to a reproduction repo:

  1. yarn add react-native-fast-image
  2. pod install
  3. call FastImage
  4. See error
    <FastImage
        onError={() => {
          setSource({
            uri: errorIcon
          })
        }}
        // tintColor={tintColor}
        resizeMode={resizeMode}
        style={commonStyles.image}
        source={source}
      />

    Expected behavior

Screenshots

image

Dependency versions

Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.

chhornponleu commented 2 years ago

This lib doesn't support New Architecture yet. To use FastImage you will need to disable New Architecture (for now), otherwise use RN Image.

waqas19921 commented 2 years ago

@chhornponleu is there any plans to start on this as RN version 0.69 is also released.

curthipster commented 1 year ago

@DylanVann thanks for this great package. It's quiet around here lately. Are you still maintaining it? With RN 0.71 released, it would be really great to have support for the New Architecture.

billnbell commented 1 year ago

RN 0.72.1 is out there - can we please support it with New Arch ?

waqas19921 commented 1 year ago

I think we can use this lib in 0.72 with this https://github.com/reactwg/react-native-new-architecture/discussions/135