MCPcopy
hub / github.com/ctrlplusb/react-sizeme / componentDidMount

Method componentDidMount

src/with-size.js:167–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165 }
166
167 componentDidMount() {
168 this.detector = resizeDetector(resizeDetectorStrategy)
169 this.determineStrategy(this.props)
170 this.handleDOMNode()
171 }
172
173 componentDidUpdate() {
174 this.determineStrategy(this.props)

Callers

nothing calls this directly

Calls 2

handleDOMNodeMethod · 0.95
resizeDetectorFunction · 0.85

Tested by

no test coverage detected