Function sauron_core::vdom::diff

source ·
pub fn diff<'a, MSG>(
    old: &'a Node<MSG>,
    new: &'a Node<MSG>
) -> Vec<Patch<'a, MSG>>where
    MSG: 'static,
Expand description

This is a sauron html specific functionality diff 2 nodes with attribute using &'static str instead of generic ATT