We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdcdf9b commit 877d306Copy full SHA for 877d306
lesson2.html
@@ -209,8 +209,6 @@ <h1>Rendering a List</h1>
209
<div class="row">
210
<div class="col-sm-4">
211
<p>
212
- In this example we are using <a href="http://lodash.com/">lodash</a> to provide easy to use functions.
213
- Javascript's array prototype includes a map function which works almost identically.
214
In the addItem method we clone "items" so that the original state remains unmodified.
215
This particular example would not have an issue with modifying "items" in place
216
but if we ever implement our own "componentShouldUpdate" then we run the risk of not knowing if our state was modified.
0 commit comments