diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index 3a319f314ec99e..3941d8fe042215 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -12,6 +12,8 @@ const invariant = require('fbjs/lib/invariant'); +let showedListViewDeprecation = false; + // Export React, plus some native additions. const ReactNative = { // Components @@ -58,6 +60,14 @@ const ReactNative = { return require('KeyboardAvoidingView'); }, get ListView() { + if (!showedListViewDeprecation) { + console.warn( + 'ListView is deprecated and will be removed in a future release. ' + + 'See https://fb.me/nolistview for more information', + ); + + showedListViewDeprecation = true; + } return require('ListView'); }, get MaskedViewIOS() {