mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Rebuild manually
This commit is contained in:
@@ -391,7 +391,7 @@
|
||||
|
||||
<ul>
|
||||
<li>Replace <code>this.props.value</code> with <code>this.state.value</code> inside the <code><button></code> tag.</li>
|
||||
<li>Replace the <code>() => alert()</code> event handler with <code>() => setState({value: 'X'})</code>.</li>
|
||||
<li>Replace the <code>() => alert()</code> event handler with <code>() => this.setState({value: 'X'})</code>.</li>
|
||||
</ul>
|
||||
|
||||
<p>Now the <code><button></code> tag looks like this:</p>
|
||||
|
||||
Reference in New Issue
Block a user