MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / render

Method render

code/one-direction-data-flow/src/app.jsx:39–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 Store.subscribe(value => this.setState({ value }));
38 }
39 render() {
40 return (
41 <div>
42 <Switcher
43 value={ this.state.value }
44 onChange={ Store.set.bind(Store) } />
45 </div>
46 );
47 }
48};
49
50ReactDOM.render(<App />, document.querySelector('#container'));

Callers 6

finishClassComponentFunction · 0.45
app.jsFile · 0.45
lFunction · 0.45
CgFunction · 0.45
app.jsxFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected