Browse Source

fix light diffing components

Evan Almloff 1 năm trước cách đây
mục cha
commit
5ca0c9cbf8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/core/src/diff/node.rs

+ 1 - 1
packages/core/src/diff/node.rs

@@ -498,8 +498,8 @@ impl VNode {
                     self.diff_vcomponent(
                         mount_id,
                         idx,
-                        old_component,
                         new_component,
+                        old_component,
                         scope_id,
                         parent,
                         dom,