Warning: Support for defaultProps will be removed from function components
Opened this issue · 3 comments
kashmiry commented
Describe the bug
After upgrading to RN 0.74 Now I receive these warnings, in screens where the component is present.
ERROR Warning: AnimatableImage: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
in AnimatableImage (created by ImagePolyfill)
in ImagePolyfill (created by AutoHeightImage)
in AutoHeightImage (created by ErrorableImage)
Dependencies versions (please complete the following information):
- react:
18.2.0
- react-native:
0.74.6
sbaiahmed1 commented
I have submitted a pr hoping it will be merged soon #127
sbaiahmed1 commented
@vivaxy can you please see the PR when you got time :D thank you
DiguinhoLNS commented
Same error here, some fix?