We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381ecc3 commit 6b7ed12Copy full SHA for 6b7ed12
src/index.js
@@ -167,14 +167,14 @@ export default class Swipeable extends PureComponent {
167
rightButtonsOpen: false
168
};
169
170
- componentDidMount() {
+ UNSAFE_componentDidMount() {
171
const {onPanAnimatedValueRef, onRef} = this.props;
172
173
onRef(this);
174
onPanAnimatedValueRef(this.state.pan);
175
}
176
177
- componentWillUnmount() {
+ UNSAFE_componentWillUnmount() {
178
this._unmounted = true;
179
180
0 commit comments