-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Add a deprecation warning when importing NetInfo #23383
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thank you. I noticed we said "informations" in the webview deprecation message, so I edited your PR inline to remove that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
(There is some tooling issue) |
@matt-oakes merged commit d9c0dfe into |
Summary
Add a deprecation warning for the
NetInfo
module as part of #23313.Changelog
[General] [Deprecated] - Deprecated NetInfo as it has now been moved to @react-native-community/netinfo
Test Plan
Open the RNTester app to the NetInfo examples and see the warning yellow box appear.