diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index 0de0089d883..6e941202bbb 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -13,6 +13,7 @@ const invariant = require('fbjs/lib/invariant'); let showedListViewDeprecation = false; +let showedSwipeableListViewDeprecation = false; // Export React, plus some native additions. const ReactNative = { @@ -122,6 +123,14 @@ const ReactNative = { return require('SwipeableFlatList'); }, get SwipeableListView() { + if (!showedSwipeableListViewDeprecation) { + console.warn( + 'ListView and SwipeableListView are deprecated and will be removed in a future release. ' + + 'See https://fb.me/nolistview for more information', + ); + + showedSwipeableListViewDeprecation = true; + } return require('SwipeableListView'); }, get TabBarIOS() {