acornjs / acorn-jsx

Alternative, faster React.js JSX parser
MIT License
651 stars 74 forks source link

Acorn can parse this? #99

Closed Abdubek closed 5 years ago

Abdubek commented 5 years ago
<div>
    {
         arr.map(item => <span>Some text</span>)
    }
</div> 

and eventually get

<div>
    <span>Some text</span>
    <span>Some text</span>
    <span>Some text</span>
    <span>Some text</span>
</div>