diff --git a/src/vhtml.js b/src/vhtml.js index 0e03f69..3b62329 100644 --- a/src/vhtml.js +++ b/src/vhtml.js @@ -42,7 +42,7 @@ export default function h(name, attrs) { } else while (stack.length) { let child = stack.pop(); - if (child) { + if (child !== false && child !== undefined && child !== null) { if (child.pop) { for (let i=child.length; i--; ) stack.push(child[i]); }