From efdb563fa52386882a88204bae2d92bd812d37bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Yves=20G=C3=A9rardy?= Date: Wed, 1 Jun 2022 09:37:11 +0200 Subject: [PATCH] Remove a stale comment This hasn't been true since v2.0 --- render/render.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/render/render.js b/render/render.js index d4d5b396..59ef9a67 100644 --- a/render/render.js +++ b/render/render.js @@ -262,11 +262,6 @@ module.exports = function($window) { // this is not the case if the node moved (second and fourth part of the diff algo). We move // the old DOM nodes before updateNode runs because it enables us to use the cached `nextSibling` // variable rather than fetching it using `getNextSibling()`. - // - // The fourth part of the diff currently inserts nodes unconditionally, leading to issues - // like #1791 and #1999. We need to be smarter about those situations where adjascent old - // nodes remain together in the new list in a way that isn't covered by parts one and - // three of the diff algo. function updateNodes(parent, old, vnodes, hooks, nextSibling, ns) { if (old === vnodes || old == null && vnodes == null) return