-
-
Save samuelayo/55de6f13a7e6d3acefc4ce2870913030 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
showItems() { | |
var items = []; | |
for (var i = 0; i < this.state.items; i++) { | |
items.push(<li key={i}>Item {i}</li>); | |
} | |
return items; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment