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

Method render

code/event-handlers/src/app.jsx:10–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 this._onPasswordChanged = this._onFieldChange.bind(this, 'password');
9 }
10 render() {
11 return (
12 <form>
13 <input onChange={ this._onNameChanged } />
14 <input onChange={ this._onPasswordChanged } />
15 </form>
16 );
17 }
18 _onFieldChange(field, event) {
19 console.log(`${ field } changed to ${ event.target.value }`);
20 }

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected