Swizz/snabbdom-pragma

Consider moving from 'props' to 'attrs'

Swizz opened this issue · 2 comments

Swizz commented

Attrs seem more interesting than Props, I'll need more informations about that.

Swizz commented

According to snabbdom#32 :

The props module sets element properties directly. Attributes module does elm.setAttribute . Most of the time props is what you want, attributes was added mainly for SVG support I believe.

Swizz commented

jvanbruegge commented on 25 Feb (#1)
The problem is that attrs is not updating after the initial set. You will have to set both, but you shouldnt need any conditionals