MCPcopy Create free account
hub / github.com/flyfloor/react-component / componentDidMount

Function componentDidMount

component/Carousel.js:39–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 },
38
39 componentDidMount() {
40 const base = ReactDOM.findDOMNode(this);
41 this.setState({
42 baseWidth: base.offsetWidth
43 });
44 this.resetAutoplay();
45 },
46
47 handleAutoPlay(){
48 const {index, count} = this.state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…