pub fn diff_children(old: &[VirtualNode], new: &[VirtualNode]) -> Vec<DiffOp>Expand description
Computes the diff between two virtual-DOM child lists.
Dispatches to diff_keyed when both lists have keys
on every node, otherwise falls back to diff_positional.
§Arguments
&[VirtualNode]- Shared reference to a[VirtualNode].&[VirtualNode]- Shared reference to a[VirtualNode].
§Returns
Vec<DiffOp>- AVec<DiffOp>value.