MCPcopy Create free account
hub / github.com/cssinjs/jss / ReactAnimation

Class ReactAnimation

examples/function-values/ReactAnimation.js:10–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10export default class ReactAnimation extends Component {
11 constructor(props) {
12 super(props)
13 this.props.setUpdate(this.forceUpdate.bind(this))
14 this.Renderer = getRenderer(props)
15 }
16
17 componentWillReceiveProps(nextProps) {
18 this.Renderer = getRenderer(nextProps)
19 }
20
21 render() {
22 return <this.Renderer />
23 }
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected