We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Great library. Just to let you know that it now raises a warning regarding react lifecycle method componentWillMount. It is being deprecated.
componentWillMount
The text was updated successfully, but these errors were encountered:
Moving this block inside constructor does the trick:
componentWillMount() { this.gestureHandlers = PanResponder.create({ onStartShouldSetPanResponder: this._handleStartShouldSetPanResponder, onMoveShouldSetPanResponder: this._handleMoveShouldSetPanResponder, onPanResponderGrant: this._handlePanResponderGrant, onPanResponderMove: this._handlePanResponderMove, onPanResponderRelease: this._handlePanResponderEnd, onPanResponderTerminationRequest: evt => true, onShouldBlockNativeResponder: evt => false }); }
Sorry, something went wrong.
No branches or pull requests
Great library.
Just to let you know that it now raises a warning regarding react lifecycle method
componentWillMount
. It is being deprecated.The text was updated successfully, but these errors were encountered: