You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a deprecation warning when importing NetInfo (#23383)
Summary:
Add a deprecation warning for the `NetInfo` module as part of #23313.
[General] [Deprecated] - Deprecated NetInfo as it has now been moved to react-native-community/netinfo
Pull Request resolved: #23383
Differential Revision: D14024702
Pulled By: cpojer
fbshipit-source-id: 353a9fb86feba2ca7f948c618c642e40fcdbfada
Copy file name to clipboardExpand all lines: Libraries/react-native/react-native-implementation.js
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ module.exports = {
173
173
'webview-moved',
174
174
'WebView has been extracted from react-native core and will be removed in a future release. '+
175
175
"It can now be installed and imported from 'react-native-webview' instead of 'react-native'. "+
176
-
'See https://github.com/react-native-community/react-native-webview for more informations.',
0 commit comments