diff --git a/src/virtual_dom/patch/patch_gen.rs b/src/virtual_dom/patch/patch_gen.rs index 931ca8ace..85aab5943 100644 --- a/src/virtual_dom/patch/patch_gen.rs +++ b/src/virtual_dom/patch/patch_gen.rs @@ -450,12 +450,7 @@ where /// Checks whether the old element can be updated with a new one. pub(crate) fn el_can_be_patched(el_old: &El, el_new: &El) -> bool { - // Custom elements can't be patched, because we need to reinit them (Issue #325). - // @TODO remove this check when #364 will be done. - el_old.namespace == el_new.namespace - && el_old.tag == el_new.tag - && el_old.key == el_new.key - && !el_new.is_custom() + el_old.namespace == el_new.namespace && el_old.tag == el_new.tag && el_old.key == el_new.key } /// Takes children from source iterators (new and old) and puts them in the