MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / componentDidUpdate

Method componentDidUpdate

src/Carousel.js:114–117  ·  view source on GitHub ↗
(prevProps, prevState)

Source from the content-addressed store, hash-verified

112 }
113
114 componentDidUpdate(prevProps, prevState) {
115 if (prevState.activeIndex === this.state.activeIndex) return;
116 this.setInterval();
117 }
118
119 componentWillUnmount() {
120 this.clearInterval();

Callers

nothing calls this directly

Calls 1

setIntervalMethod · 0.95

Tested by

no test coverage detected