Closed atirip closed 5 years ago
yes, it's OK, that's how it's always been. null
and undefined
are used to remove attributes or handlers, false
can be used only on boolean attributes, such as checked
, disabled
, and others. If the attribute has no special meaning, false
is set as string, same as 0
, or empty strings.
P.S. this was also described in the documentation https://viperhtml.js.org/hyperhtml/documentation/#essentials-4
Yes, thanks, now I see it :-)
This:
renders into this:
https://codepen.io/anon/pen/OroBEG?editors=0010