Deprecate Image.style.tintColor and Image.style.resizeMode #2383
Labels
enhancement
Requires extension or creation of new React Native API
has: pr
Subject of a pull request
project:react-native-web
Issue associated with react-native-web
Milestone
Is there an existing request?
Describe the feature request
Prepare for these non-standard styles to be removed from React Native for Web. There is already a
resizeMode
prop, which should be used instead. And atintColor
prop could be added, although mechanisms for color tinting images on web don't seem to work well in Safari, so the feature could be dropped entirely. Moving these features out ofstyle
will help avoid style deopts on web, and enable static extraction of styles from core components (i.e., avoid usingStyleSheet.flatten
during render).The text was updated successfully, but these errors were encountered: