Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Mar 31, 2019
1 parent 92354a6 commit 0d630eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diff/index.js
Expand Up @@ -108,7 +108,7 @@ export function diff(dom, parentDom, newVNode, oldVNode, context, isSvg, excessD
}

if (!force && c.shouldComponentUpdate!=null && c.shouldComponentUpdate(newVNode.props, s, cctx)===false) {
dom = newVNode._dom;
dom = c.base = newVNode._dom;
c.props = newVNode.props;
c.state = s;
c._dirty = false;
Expand Down

0 comments on commit 0d630eb

Please sign in to comment.