13. .map in JSX syntax non-sense

I don’t understand what this evaluates to: "return <li> {person} </li>". Does it evaluate to something like <li> {people[3]} </li> which is just not how map works, or does it return <li> "Gare" </li> as normal map would at which point I don’t understand what’s the deal with brackets, or does it perhaps strip quotation marks?

Well yea passing {param} will strip quotation marks from strings.

I’m not in love with the fact. It is unnatural, not to say verbose.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.