Skip to content

Warning/Error: CachedImage: Support for defaultProps will be removed #79

Description

@ivanoikon

After upgrade to RN 0.74.0 an error/warning is logged with react-native-image-cache 3.1.0

ERROR Warning: CachedImage: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
in CachedImage (created by CGPItem)
in RCTView (created by View)
in View (created by Animated(View))
in Animated(View) (created by TouchableOpacity)
in TouchableOpacity (created by TouchableOpacity)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions