react-native-alphabetlistview icon indicating copy to clipboard operation
react-native-alphabetlistview copied to clipboard

TypeError: undefined is not an object (evaluating 'new _reactNative.ListView.DataSource')

Open miralmsojitra opened this issue 4 years ago • 1 comments

after updating my react native version from 59 to 0.63.2 app crashed as ListView is deprecated in new react native version.

for workaround,

in node_modules\react-native-alphabetlistview\components\SelectableSectionsListView.js I have installed "deprecated-react-native-listview". Added - import { ListView } from 'deprecated-react-native-listview';
removed ListView import from react-native.

miralmsojitra avatar Sep 17 '20 12:09 miralmsojitra

Did you test with any other react-native list?

dheysonalves avatar Oct 13 '20 19:10 dheysonalves