-
Notifications
You must be signed in to change notification settings - Fork 273
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
componentWillMount is deprecated from RN .60 #85
Comments
simply create a file in your project called Swipeable.js contain this code and import it : change componentWillMount function to ComponentDidMount work perfect for me. |
I am getting the same issue. The contributors need to fix this. |
I see if fixed on master. Could you create a new tag? :) |
Still the same problem here. Looks like this project isn't maintained anymore. I get tons of deprecation warnings like this. Don't feel like hacking around in the node modules. Does anybody know an alternative? |
Fixed in the fork I published : https://www.npmjs.com/package/react-native-swipeable-reborn |
May simply work to replace with ComponentDidMount. Not sure the impact.
The text was updated successfully, but these errors were encountered: