Precise DOM morphing
morphing typescript dom

Update readme

+10 -1
+10 -1
README.md
··· 26 26 // Morph the entire element 27 27 morph(currentNode, referenceNode) 28 28 29 - // Morph only the inner content 29 + // Morph only the children of the current node 30 30 morphInner(currentNode, referenceNode) 31 31 ``` 32 + 33 + ## What makes Morphlex different? 34 + 35 + 1. No cascading mutations from inserts. Simple inserts should be one DOM operation. 36 + 2. No cascading mutations from removes. Simple removes should be one DOM operation. 37 + 3. No cascading mutations from partial sorts. Morphlex finds the longest increasing subsequence for near optimal partial sorts. 38 + 4. It uses `moveBefore` when available, preserving state. 39 + 5. It uses `isEqualNode`, but in a way that is sensitive to the value of form inputs. 40 + 6. It uses id sets inspired by Idiomorph.