Rebuild manually

This commit is contained in:
Dan Abramov
2017-05-10 08:25:57 +01:00
parent f11140a0a6
commit 4f3eb847b3
+1 -1
View File
@@ -391,7 +391,7 @@
<ul>
<li>Replace <code>this.props.value</code> with <code>this.state.value</code> inside the <code>&lt;button&gt;</code> tag.</li>
<li>Replace the <code>() =&gt; alert()</code> event handler with <code>() =&gt; setState({value: &#39;X&#39;})</code>.</li>
<li>Replace the <code>() =&gt; alert()</code> event handler with <code>() =&gt; this.setState({value: &#39;X&#39;})</code>.</li>
</ul>
<p>Now the <code>&lt;button&gt;</code> tag looks like this:</p>