Invariant Violation: ListView has been removed. But

List VIew is deprecated in react native 0.60. So the quick fix is to use deprecated-react-native-listview

Need to add

import ListView from "deprecated-react-native-listview";

instead of

import ListView from from 'react-native';

https://www.npmjs.com/package/deprecated-react-native-listview


class LibraryList extends Component{
    renderRow({item}) {
        return <ListItem library = { item } />;
    }

    render() {
        return(
            <FlatList
                data = {this.props.libraries}
                renderItem = {this.renderRow}
            />
        );
    }
}