Skip to content

Commit

Permalink
react
Browse files Browse the repository at this point in the history
  • Loading branch information
okbug committed Nov 28, 2021
1 parent 47c3a9c commit ae738c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zf/zhufengreact202110-master/1.basic/src/react-dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ function updateFunctionComponent(oldVdom, newVdom) {
newVdom.oldRenderVdom = newRenderVdom
}
function updateChildren(parentDOM, oldVChildren, newVChildren) {
O
oldVChildren = (Array.isArray(oldVChildren) ? oldVChildren : [oldVChildren]).filter(item => item);
newVChildren = (Array.isArray(newVChildren) ? newVChildren : [newVChildren]).filter(item => item);
//1.构建老map key虚拟DOM的key,值虚拟DOM
Expand Down

0 comments on commit ae738c4

Please sign in to comment.