3 ms·
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:
by couchand 11y ago
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 })