MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / render

Method render

code/third-party/src/app.jsx:18–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 this.setState({ newTag: this.refs.field.value });
17 }
18 render() {
19 return (
20 <div>
21 <p>Add new tag:</p>
22 <div>
23 <input type='text' ref='field' />
24 <button onClick={ this._addNewTag }>Add</button>
25 </div>
26 <Tags tags={ this.state.tags } newTag={ this.state.newTag } />
27 </div>
28 );
29 }
30}
31App.propTypes = {
32 service: React.PropTypes.object

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