File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ Put the compiled JS files into HTML.
565
565
- [React (Virtual) DOM Terminology](http: // facebook.github.io/react/docs/glossary.html), by Sebastian Markbåge
566
566
- [The React Quick Start Guide](http: // www.jackcallister.com/2015/01/05/the-react-quick-start-guide.html), by Jack Callister
567
567
- [Learning React .js : Getting Started and Concepts](https: // scotch.io/tutorials/learning-react-getting-started-and-concepts), by Ken Wheeler
568
- - [Getting started with React](http: // ryanclark.me/getting-started-with-react/ ), by Ryan Clark
568
+ - [Getting started with React](http: // ryanclark.me/getting-started-with-react), by Ryan Clark
569
569
- [React JS Tutorial and Guide to the Gotchas](https: // zapier.com/engineering/react-js-tutorial-guide-gotchas/), by Justin Deal
570
570
- [React Primer](https: // github.com/BinaryMuse/react-primer), by Binary Muse
571
571
- [jQuery versus React .js thinking](http: // blog.zigomir.com/react.js/jquery/2015/01/11/jquery-versus-react-thinking.html), by zigomir
Original file line number Diff line number Diff line change 13
13
ReactDOM . render (
14
14
< div >
15
15
{
16
- names . map ( function ( name ) {
17
- return < div > Hello, { name } !</ div >
16
+ names . map ( function ( name , index ) {
17
+ return < div key = { index } > Hello, { name } !</ div >
18
18
} )
19
19
}
20
20
</ div > ,
Original file line number Diff line number Diff line change 9
9
< div id ="example "> </ div >
10
10
< script type ="text/babel ">
11
11
var arr = [
12
- < h1 > Hello world!</ h1 > ,
13
- < h2 > React is awesome</ h2 > ,
12
+ < h1 key = "1" > Hello world!</ h1 > ,
13
+ < h2 key = "2" > React is awesome</ h2 > ,
14
14
] ;
15
15
ReactDOM . render (
16
16
< div > { arr } </ div > ,
You can’t perform that action at this time.
0 commit comments