diff --git a/src/diff/index.js b/src/diff/index.js index 1ae0ab1251..2cba2714b6 100644 --- a/src/diff/index.js +++ b/src/diff/index.js @@ -165,14 +165,14 @@ export function diff( } if ( - !c._force && - ((c.shouldComponentUpdate != NULL && + (!c._force && + c.shouldComponentUpdate != NULL && c.shouldComponentUpdate( newProps, c._nextState, componentContext ) === false) || - newVNode._original == oldVNode._original) + newVNode._original == oldVNode._original ) { // More info about this here: https://gist.github.com/JoviDeCroock/bec5f2ce93544d2e6070ef8e0036e4e8 if (newVNode._original != oldVNode._original) {