Echo JS 0.11.0

<~>

manabu comments

manabu 2495 days ago. link 2 points
Agree. I kind of regret posting this now.
manabu 2563 days ago. link 1 point
Wow, this is a whole different ball game.
[comment deleted]
manabu 2673 days ago. link 1 point
One more thing: React implements a synthetic event system which is agnostic of the renderers and works both with React DOM and React Native. This is irrelevant in picodom, since there is no picodom native or will be.
manabu 2673 days ago. link 1 point
If there are no direct references to a particular DOM node elsewhere in your code, then the DOM node will be GC'ed after they are detached from the tree using removeChild.

Also, picodom _does not_ use addEventListener/removeEventListener, instead it sets the function on the element like this:

    element.onclick = data.onclick

Because picodom manages its own nodes and they are created declaratively by the user (as opposed to imperatively) there is no scenario where you could have multiple event handlers of a single event attached to a DOM node, unless you use a lifecycle event to access a DOM node and use addEventListener yourself on it, but then that's your problem. 

So, tl;dr it's fine.
manabu 2674 days ago. link 1 point
Supports SVG, but there's no synthetic event system. React's synthetic events exist due to browser incompatibilities, but since picodom is only IE10+ and up, it has no use case for it.
manabu 2695 days ago. link 2 points
I agree with nimgrg's sentiment. Why can't we stop the X vs Y fights and accept that the world is big enough and we can all coexist. Even Angular.
manabu 2790 days ago. link 2 points
Makes sense because mewts are immutable!
[more]