News for hackers. Stuff that matters.
Re:React on ES6+ by madeofpalk on Wednesday July 08, 2015 @10:02PM (#9855802)
But the input is still a string? I think it's helpful to know that when you see JSX like this:

    <MixinComponent>
      <InnerComponent name='madeofpalk'/>
    </MixinComponent>

JSX will convert that into regular JS which will look like

    element('MixinComponent', {},
        element('InnerComponent', {name: 'madeofpalk'})
    )
Parsing that string during runtime to produce the above data structure isn't ideal.
Re:React on ES6+ by clessg on Thursday July 09, 2015 @12:13AM (#9856107)
Right, for sure. Template literals are not a good replacement for JSX.