@samitouri / QOS-React / commits / 4b8510be0f

Make REACT_PROFILER_TYPE numeric value unique (#12843)

Brian Vaughn committed May 17, 2018 at 08:55 UTC 4b8510be0faca665b53cdabba56f5334cace7ac0
1 file changed +2 -2
packages/shared/ReactSymbols.js
+2 -2
@@ -24,8 +24,8 @@ export const REACT_STRICT_MODE_TYPE = hasSymbol
24 ? Symbol.for('react.strict_mode')
25 : 0xeacc;
26 export const REACT_PROFILER_TYPE = hasSymbol
27 - ? Symbol.for('react.profile_root')
28 - : 0xeacc;
27 + ? Symbol.for('react.profiler')
28 + : 0xead2;
29 export const REACT_PROVIDER_TYPE = hasSymbol
30 ? Symbol.for('react.provider')
31 : 0xeacd;