Support for defaultProps will be removed from function components in a future major release.
Opened this issue · 0 comments
Egnus commented
For the latest Expo 51 and React Native I am getting the following error:
Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
This is very easy to be fixed by moving all these props to the default object of the component.