pub fn convert_patches<Msg, F>( target_node: &DomNode, patches: &[Patch<'_, Msg>], ev_callback: F, ) -> Result<Vec<DomPatch>, JsValue>where Msg: 'static, F: Fn(Msg) + 'static + Clone,
get the real DOM target node and make a DomPatch object for each of the Patch