MCPcopy Create free account
hub / github.com/Broltes/react-touch-loader / componentWillReceiveProps

Method componentWillReceiveProps

src/react-touch-loader.jsx:36–42  ·  view source on GitHub ↗
(nextProps)

Source from the content-addressed store, hash-verified

34 }
35
36 componentWillReceiveProps(nextProps) {
37 if (nextProps.initializing < 2) {
38 this.setState({
39 progressed: 0, // reset progress animation state
40 });
41 }
42 }
43
44 setInitialTouch(touch) {
45 this.initialTouch = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected