virtual-dom.js : identify problem area?

This commit is contained in:
ansuz 2016-02-01 14:28:13 +01:00
parent 08fb010627
commit 2016550e01
1 changed files with 4 additions and 0 deletions

View File

@ -1319,6 +1319,10 @@ function walk(a, b, patch, index) {
} }
} }
/* FIXME
I think this is where it's wiping out younger siblings of a redrawn child
That's no good, because it causes redraws on children that should persist
*/
function diffChildren(a, b, patch, apply, index) { function diffChildren(a, b, patch, apply, index) {
var aChildren = a.children var aChildren = a.children
var orderedSet = reorder(aChildren, b.children) var orderedSet = reorder(aChildren, b.children)