MVCoconut / coconut.vdom

Coconut rendering through virtual-dom.
The Unlicense
19 stars 8 forks source link

Unspecified/null attributes not being set #19

Closed kevinresol closed 5 years ago

kevinresol commented 5 years ago

For example, suppose we have an existing vnode <div class="foo"/>

and we are transiting to: <div/> or <div class=${null}/>

The actual DOM will have the class=foo remained.

Current workaround is to specify <div class=""/> explicitly.