`hyperfiddle.electric-dom2/props` reverses class order
Opened this issue · 3 comments
milelo commented
If I call:
(hyperfiddle.electric-dom2/props {:class "a b c"})
the dom shows: class="c b a"
.
dustingetz commented
Is it damaging something?
milelo commented
Potentially. If two classes have a conflicting style property for example color, the latter one takes precedence.
dustingetz commented
Thanks, we accept the bug. The root cause is that e/for
mounts branches concurrently – they are racing. It is potentially straightforward to guarantee a mount ordering and we have been considering it.