[<<][erlang][>>][..]
Fri Jul 14 14:16:35 EDT 2017

Mini-react

Web app is based on exml.  If this is turned into something where
every node is annotated with an ID, it is possible to do the diffing
server-side.

Second iteration: do the diffing on nodes that are tagged with an id.

Is it possible to replace an existing document node with a new one, or
can you only replace children of other nodes?  I.e. do we need
wrappers?

el1.replaceWith(el2);

or for older browsers:
A.parentNode.replaceChild(document.createElement("span"), A);




[Reply][About]
[<<][erlang][>>][..]