|
|
|
|
|
by bGl2YW5j
1685 days ago
|
|
This JSX syntax is a perfect example of one of its subtleties: map() creates an array, and an array of elements is automatically expanded to single elements. I know that when I learnt JSX, this was not intuitive. The word 'each' conveys the intent of this code way more explicitly. |
|