@samitouri / QOS-React-2 / commits / 1324eb5556

"use strict" in shouldUpdateReactComponent

Paul O’Shannessy committed Nov 14, 2013 at 10:37 UTC 1324eb55565bdaeac723767f5b2e0ad7e44a2970
1 file changed +2
src/core/shouldUpdateReactComponent.js
+2
@@ -17,6 +17,8 @@
17 * @typechecks static-only
18 */
19
20 +"use strict";
21 +
22 /**
23 * Given a `prevComponent` and `nextComponent`, determines if `prevComponent`
24 * should be updated as opposed to being destroyed or replaced.