Hacker News new | past | comments | ask | show | jobs | submit login

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 })



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: