fatal error - build fail - LisView removed from RN
due to still using ListView by metro, build now fails after upgrading to RN 0.60.3
[error][tid:com.facebook.react.JavaScript] ListView has been removed from React Native. See https://fb.me/nolistview for more information or use deprecated-react-native-listview.
metro-react-native-babel-preset/src/configs/lazy-imports.js: "ListView", metro-react-native-babel-preset/src/configs/lazy-imports.js: "SwipeableListView",
any advice how to get pass this ?
thanks cristian
Here same on RN 0.60.4. Any suggestion?
We're triaging older issues, and this appears to be unrelated to Metro. The ListView entries in metro-react-native-babel-preset only controlled lazy import handling. They did not import or use the removed React Native component, so the runtime error came from the application or another dependency still referencing ListView.
If this is still reproducible, please identify which dependency contains the reference and report it there. If the reference comes from React Native itself, please open an issue in the React Native repository.