MCPcopy
hub / github.com/ruanyf/react-demos / render

Method render

demo13/src/app.js:26–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 render() {
27 return (
28 <div>
29 <button onClick={this.handleClick.bind(this)} disabled={this.state.disabled}>Add Item</button>
30 <ul>
31 {
32 this.state.items.map(function(item, index) {
33 return <li key={index}>{item}</li>
34 })
35 }
36 </ul>
37 </div>
38 )
39 }
40};

Callers 1

browser.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected