MCPcopy Index your code
hub / github.com/oblador/react-native-progress / componentDidUpdate

Method componentDidUpdate

CircleSnail.js:61–70  ·  view source on GitHub ↗
(prevProps)

Source from the content-addressed store, hash-verified

59 }
60
61 componentDidUpdate(prevProps) {
62 if (prevProps.animating !== this.props.animating) {
63 if (this.props.animating) {
64 this.animate();
65 this.spin();
66 } else {
67 this.stopAnimations();
68 }
69 }
70 }
71
72 animate(iteration = 1) {
73 Animated.sequence([

Callers

nothing calls this directly

Calls 3

animateMethod · 0.95
spinMethod · 0.95
stopAnimationsMethod · 0.95

Tested by

no test coverage detected