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

Function componentWillMount

component/Carousel.js:64–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 },
63
64 componentWillMount() {
65 const {children} = this.props;
66 if (children) {
67 this.setState({
68 count: children.length
69 });
70 }
71 },
72
73 makeCarouselItem(children){
74 const {baseWidth, index} = 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…