try_apply_changes

Function try_apply_changes 

Source
pub fn try_apply_changes(
    dom: &VirtualDom,
    msg: &HotReloadMsg,
) -> Result<(), PatchError>
Expand description

Applies template and literal changes to the VirtualDom, but doesn’t panic if patching fails.

Assets need to be handled by the renderer.