react-native-autoheight-webview
react-native-autoheight-webview copied to clipboard
Support React 18.3.0/19.0.0
Bug description:
React 19.0.0 drops support for defaultProps in memo components. There is a deprecation warning for this already in React 18.3.0
To Reproduce:
Update to React 18.3.0 and see deprecation warnings for defaultProps usage in autoHeightWebView/index.js
Source (static HTML or url):
Expected behavior:
Support React 19: https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops
Screenshots/Videos:
Environment:
- OS:
macOS - OS version:
14.3.1 - react-native version:
0.73.7 - react-native-webview version:
13.8.6 - react-native-autoheight-webview version:
1.6.5