pub unsafe fn create_element_fn_mut( element_type: &Closure<dyn FnMut(Object) -> Element>, props: &JsValue, children: &Array, ) -> Element
the function in element_type closure should live longer enough
element_type