@samitouri / QOS-React-2 / commits / 60af7d1c3d

Remove unreachable return from shouldUpdateReactComponent

Eslint didn't catch this (we do have this rule turned on) because it's a big. There are no other locations I think. Detected that when I minified some code.

Cheng Lou committed Nov 21, 2015 at 18:00 UTC 60af7d1c3dd6b1f885efd58f3e1961030cee5135
1 file changed -1
src/renderers/shared/reconciler/shouldUpdateReactComponent.js
-1
@@ -41,7 +41,6 @@ function shouldUpdateReactComponent(prevElement, nextElement) {
41 prevElement.key === nextElement.key
42 );
43 }
44 - return false;
44 }
45
46 module.exports = shouldUpdateReactComponent;