Skip to content

Commit

Permalink
Merge branch 'master' into feat/improve-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewiggins committed Oct 28, 2019
2 parents 39d1271 + 51f3e25 commit 6a84468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function render(vnode, parentDom, replaceNode) {
let commitQueue = [];
diff(
parentDom,
isHydrating ? parentDom._children = vnode : (replaceNode || parentDom)._children = vnode,
(isHydrating ? parentDom : (replaceNode || parentDom))._children = vnode,
oldVNode || EMPTY_OBJ,
EMPTY_OBJ,
parentDom.ownerSVGElement !== undefined,
Expand Down

0 comments on commit 6a84468

Please sign in to comment.