developit / vhtml

Render JSX/Hyperscript to HTML strings, without VDOM 🌈

Home Page:http://npm.im/vhtml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't render 0

jcubic opened this issue · comments

JSX should only ignore boolean, null and undefined.

But it doesn't render 0:

Modified example of numbers:

let items = Array.from({ length: 10 }, (_, i) => i);

The first item is not rendered.

https://jsfiddle.net/ts0Lhcfq/

It seems this is a duplication of #40