Module diff

Source
Expand description

provides diffing algorithm which returns patches

Functions§

diff_recursive
diff the nodes recursively
diff_with_functions
calculate the difference of 2 nodes if the skip function evaluates to true, then diffing of the node and all of it’s descendant will be skipped entirely and then proceed to the next node.
diff_with_key
Return the patches needed for old_node to have the same DOM as new_node