MVCoconut / coconut.vdom

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

Conditional event handlers not removed on re-render #37

Closed ousado closed 3 years ago

ousado commented 3 years ago
<for ... >
<if ${condition} >
             <tr onclick=${ e->handler(e) }>
             ...
             </tr>
<else>
             <tr>  // onclick handler still in place after re-rendering with condition flipped 
             ...
             </tr>
</if>
</for>