News for hackers. Stuff that matters.
Re:JSX is no longer my friend by couchand on Tuesday March 15, 2016 @08:26PM (#11294101)
Not exactly. The stuff within the handlebars isn't evaluated, it's just passed through as code rather than a string. Your example is equivalent to this:

    React.createElement(div, { count: count?true:false })
not, as your comment implies,

    React.createElement(div, { count: true })

There are no comments on this comment yet.