Open janpe opened 4 months ago
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
defaultProps
To Reproduce:
Update to React 18.3.0 and see deprecation warnings for defaultProps usage in autoHeightWebView/index.js
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:
macOS
14.3.1
0.73.7
13.8.6
1.6.5
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.0To Reproduce:
Update to React 18.3.0 and see deprecation warnings for
defaultProps
usage inautoHeightWebView/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:
macOS
14.3.1
0.73.7
13.8.6
1.6.5