Skip to content

Commit 14d9b2d

Browse files
cpojerfacebook-github-bot
authored andcommitted
Remove ListView and SwipeableListView from React Native
Summary: This diff removes ListView and SwipeableListView from React Native: * Removes the code and all examples * Removes the exports on `react-native-implementation` but leaves an error message in dev mode only * Uses `deprecated-react-native-listview` for `ListView` and `deprecated-react-native-swipeable-listview` for `SwipeableListView` Both ListView and SwipeableListView are now fully removed from React Native in open source and we will continue to use the deprecated packages internally. Reviewed By: TheSavior Differential Revision: D14181708 fbshipit-source-id: 5030c33791f998567de058fee934449c16fa1d54
1 parent 4ba304d commit 14d9b2d

18 files changed

+32
-2577
lines changed

Libraries/Experimental/SwipeableRow/SwipeableFlatList.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,10 @@ type State = {|
4646
* A container component that renders multiple SwipeableRow's in a FlatList
4747
* implementation. This is designed to be a drop-in replacement for the
4848
* standard React Native `FlatList`, so use it as if it were a FlatList, but
49-
* with extra props, i.e.
50-
*
51-
* <SwipeableListView renderRow={..} renderQuickActions={..} {..FlatList props} />
49+
* with extra props.
5250
*
5351
* SwipeableRow can be used independently of this component, but the main
54-
* benefit of using this component is
52+
* benefits of using this component are:
5553
*
5654
* - It ensures that at most 1 row is swiped open (auto closes others)
5755
* - It can bounce the 1st row of the list so users know it's swipeable

Libraries/Experimental/SwipeableRow/SwipeableListView.js

-244
This file was deleted.

Libraries/Experimental/SwipeableRow/SwipeableListViewDataSource.js

-116
This file was deleted.

0 commit comments

Comments
 (0)