Error when using empty string in jsx template
asunar opened this issue · 1 comments
asunar commented
Transpiling and running the following template throws an error:
Uncaught DOMException: Failed to execute 'appendChildren' on 'Element': [object String] is not valid.
Is that the expected behavior?
function template() {
var name = '';
return (
<div>{ name }</div>
);
}
treycordova commented
Fixed. It's in master now.