You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a Todo List JSX template, babel´s output seems to be ok, it generates the h() calls just like documentation suggests, but, in the case of the code above, just the checkbox is being created inside div.item. The label, button and even input:text are simply ignored. There´s no error on compilation or even in runtime.
The text was updated successfully, but these errors were encountered:
I´m using babel to transform JSX templates into virtual-dom hyperscript so I don´t have to write those h() calls manually.
It works well when you don´t have a loop inside of it. Otherwise virtual-dom misses some elements.
This is just a Todo List JSX template, babel´s output seems to be ok, it generates the h() calls just like documentation suggests, but, in the case of the code above, just the checkbox is being created inside
div.item
. Thelabel
,button
and eveninput:text
are simply ignored. There´s no error on compilation or even in runtime.The text was updated successfully, but these errors were encountered: