Skip to content

Commit ca77459

Browse files
authored
Update implementation-notes.md
fix indentation problem
1 parent 8ae3ee3 commit ca77459

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/docs/implementation-notes.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -770,12 +770,12 @@ We collect DOM operations on children in a list so we can execute them in batch:
770770

771771
// Finally, unmount any children that don't exist:
772772
for (var j = nextChildren.length; j < prevChildren.length; j++) {
773-
var prevChild = prevRenderedChildren[j];
774-
    var node = prevChild.getHostNode();
775-
prevChild.unmount();
773+
var prevChild = prevRenderedChildren[j];
774+
    var node = prevChild.getHostNode();
775+
prevChild.unmount();
776776

777-
// Record that we need to remove the node
778-
operationQueue.push({type: 'REMOVE', node});
777+
// Record that we need to remove the node
778+
operationQueue.push({type: 'REMOVE', node});
779779
}
780780

781781
// Point the list of rendered children to the updated version.

0 commit comments

Comments
 (0)