-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning:` ListView is deprecated and will be removed in a future release #119
Comments
This is not a warning it is an error so remove it as soon as possible. |
+1 |
+1. still not working |
This is my temporary solution |
Following @jzyds solution, I used In your project folder: yarn add deprecated-react-native-listview
yarn add --dev patch-package postinstall-postinstall Add patch-package to your package.json postinstall script: "scripts": {
"postinstall": "patch-package"
} Edit -import { View, ListView, Image, Text, Dimensions } from 'react-native';
+import { View, Image, Text, Dimensions } from 'react-native';
+import ListView from 'deprecated-react-native-listview'; Save your modification as patch: yarn patch-package react-native-masonry Verify your modification applied: yarn install --check-files
Done. |
hey, I have the same problem! |
Hey This solution works for the first time i use it them i have this error/Warning Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. |
Current Behavior
Displays a warning about ListView
Possible Solution
See https://fb.me/nolistview for more information
Context (Environment)
expo sdk33 rn 0.59.8, react 16.8.3
The text was updated successfully, but these errors were encountered: