Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support React 18.3.0/19.0.0 #262

Open
janpe opened this issue May 8, 2024 · 0 comments
Open

Support React 18.3.0/19.0.0 #262

janpe opened this issue May 8, 2024 · 0 comments
Assignees
Labels

Comments

@janpe
Copy link

janpe commented May 8, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants