react 0.0.0-experimental-241c4467e → 0.0.0-experimental-ea6ed3dbb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build-info.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "branch": "master",
3
- "buildNumber": "80590",
4
- "checksum": "fcf66d8",
5
- "commit": "241c4467e",
3
+ "buildNumber": "88382",
4
+ "checksum": "1d4644b",
5
+ "commit": "ea6ed3dbb",
6
6
  "environment": "ci",
7
- "reactVersion": "16.12.0-experimental-241c4467e"
7
+ "reactVersion": "16.12.0-experimental-ea6ed3dbb"
8
8
  }
@@ -1,4 +1,4 @@
1
- /** @license React v0.0.0-experimental-241c4467e
1
+ /** @license React v0.0.0-experimental-ea6ed3dbb
2
2
  * react.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -20,7 +20,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
20
20
 
21
21
  // TODO: this is special because it gets imported during build.
22
22
 
23
- var ReactVersion = '16.12.0-experimental-241c4467e';
23
+ var ReactVersion = '16.12.0-experimental-ea6ed3dbb';
24
24
 
25
25
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
26
26
  // nor polyfill, then a plain number is used for performance.
@@ -575,6 +575,100 @@ function createRef() {
575
575
  return refObject;
576
576
  }
577
577
 
578
+ // Helps identify side effects in render-phase lifecycle hooks and setState
579
+ // reducers by double invoking them in Strict Mode.
580
+
581
+ // To preserve the "Pause on caught exceptions" behavior of the debugger, we
582
+ // replay the begin phase of a failed component inside invokeGuardedCallback.
583
+
584
+ // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
585
+
586
+ // Gather advanced timing metrics for Profiler subtrees.
587
+
588
+ // Trace which interactions trigger each commit.
589
+
590
+ // SSR experiments
591
+
592
+
593
+ // Flight experiments
594
+
595
+ var enableChunksAPI = true; // Only used in www builds.
596
+
597
+ // Only used in www builds.
598
+
599
+ // Disable javascript: URL strings in href for XSS protection.
600
+
601
+ // These APIs will no longer be "unstable" in the upcoming 16.7 release,
602
+ // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
603
+
604
+ var exposeConcurrentModeAPIs = true;
605
+ // Experimental React Flare event system and event components support.
606
+
607
+ var enableDeprecatedFlareAPI = false; // Experimental Host Component support.
608
+
609
+ var enableFundamentalAPI = false; // Experimental Scope support.
610
+
611
+ var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
612
+
613
+ var enableJSXTransformAPI = false; // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
614
+ // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
615
+
616
+ // For tests, we flush suspense fallbacks in an act scope;
617
+ // *except* in some of our own tests, where we test incremental loading states.
618
+
619
+ // Add a callback property to suspense to notify which promises are currently
620
+ // in the update queue. This allows reporting and tracing of what is causing
621
+ // the user to see a loading state.
622
+ // Also allows hydration callbacks to fire when a dehydrated boundary gets
623
+ // hydrated or deleted.
624
+
625
+ // Part of the simplification of React.createElement so we can eventually move
626
+ // from React.createElement to React.jsx
627
+ // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
628
+
629
+
630
+
631
+
632
+ // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
633
+
634
+ // Controls sequence of passive effect destroy and create functions.
635
+ // If this flag is off, destroy and create functions may be interleaved.
636
+ // When the falg is on, all destroy functions will be run (for all fibers)
637
+ // before any create functions are run, similar to how layout effects work.
638
+ // This flag provides a killswitch if that proves to break existing code somehow.
639
+
640
+ // Controls behavior of deferred effect destroy functions during unmount.
641
+ // Previously these functions were run during commit (along with layout effects).
642
+ // Ideally we should delay these until after commit for performance reasons.
643
+ // This flag provides a killswitch if that proves to break existing code somehow.
644
+ //
645
+ // WARNING This flag only has an affect if used with runAllPassiveEffectDestroysBeforeCreates.
646
+
647
+
648
+ // --------------------------
649
+ // Future APIs to be deprecated
650
+ // --------------------------
651
+ // Prevent the value and checked attributes from syncing
652
+ // with their related DOM properties
653
+
654
+
655
+
656
+ // Disables React.createFactory
657
+
658
+ var disableCreateFactory = false; // Disables hydrate, render, findDOMNode, unmountComponentAtNode
659
+
660
+ // Disables children for <textarea> elements
661
+
662
+ // Disables Maps as ReactElement children
663
+
664
+ var disableMapsAsChildren = false; // Disables ReactDOM.unstable_renderSubtreeIntoContainer
665
+
666
+ // We should remove this flag once the above flag becomes enabled
667
+
668
+ // Disables ReactDOM.unstable_createPortal
669
+
670
+ // Modern event system where events get registered at roots
671
+
578
672
  var hasOwnProperty = Object.prototype.hasOwnProperty;
579
673
  var RESERVED_PROPS = {
580
674
  key: true,
@@ -1128,11 +1222,19 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
1128
1222
  var iteratorFn = getIteratorFn(children);
1129
1223
 
1130
1224
  if (typeof iteratorFn === 'function') {
1225
+ if (disableMapsAsChildren) {
1226
+ if (!(iteratorFn !== children.entries)) {
1227
+ {
1228
+ throw Error("Maps are not valid as a React child (found: " + children + "). Consider converting children to an array of keyed ReactElements instead.");
1229
+ }
1230
+ }
1231
+ }
1232
+
1131
1233
  {
1132
1234
  // Warn about using Maps as children
1133
1235
  if (iteratorFn === children.entries) {
1134
1236
  if (!didWarnAboutMaps) {
1135
- error('Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.');
1237
+ warn('Using Maps as children is deprecated and will be removed in ' + 'a future major release. Consider converting children to ' + 'an array of keyed ReactElements instead.');
1136
1238
  }
1137
1239
 
1138
1240
  didWarnAboutMaps = true;
@@ -2212,78 +2314,6 @@ function createScope() {
2212
2314
  return scopeComponent;
2213
2315
  }
2214
2316
 
2215
- // Helps identify side effects in render-phase lifecycle hooks and setState
2216
- // reducers by double invoking them in Strict Mode.
2217
-
2218
- // To preserve the "Pause on caught exceptions" behavior of the debugger, we
2219
- // replay the begin phase of a failed component inside invokeGuardedCallback.
2220
-
2221
- // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
2222
-
2223
- // Gather advanced timing metrics for Profiler subtrees.
2224
-
2225
- // Trace which interactions trigger each commit.
2226
-
2227
- // SSR experiments
2228
-
2229
-
2230
- // Flight experiments
2231
-
2232
- var enableChunksAPI = true; // Only used in www builds.
2233
-
2234
- // Only used in www builds.
2235
-
2236
- // Disable javascript: URL strings in href for XSS protection.
2237
-
2238
- // These APIs will no longer be "unstable" in the upcoming 16.7 release,
2239
- // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
2240
-
2241
- var exposeConcurrentModeAPIs = true;
2242
- // Experimental React Flare event system and event components support.
2243
-
2244
- var enableDeprecatedFlareAPI = false; // Experimental Host Component support.
2245
-
2246
- var enableFundamentalAPI = false; // Experimental Scope support.
2247
-
2248
- var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
2249
-
2250
- var enableJSXTransformAPI = false; // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
2251
- // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
2252
-
2253
- // For tests, we flush suspense fallbacks in an act scope;
2254
- // *except* in some of our own tests, where we test incremental loading states.
2255
-
2256
- // Add a callback property to suspense to notify which promises are currently
2257
- // in the update queue. This allows reporting and tracing of what is causing
2258
- // the user to see a loading state.
2259
- // Also allows hydration callbacks to fire when a dehydrated boundary gets
2260
- // hydrated or deleted.
2261
-
2262
- // Part of the simplification of React.createElement so we can eventually move
2263
- // from React.createElement to React.jsx
2264
- // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
2265
-
2266
-
2267
-
2268
-
2269
- // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
2270
-
2271
- // --------------------------
2272
- // Future APIs to be deprecated
2273
- // --------------------------
2274
- // Prevent the value and checked attributes from syncing
2275
- // with their related DOM properties
2276
-
2277
-
2278
-
2279
- // Disables React.createFactory
2280
-
2281
- var disableCreateFactory = false; // Disables children for <textarea> elements
2282
-
2283
- // Disables ReactDOM.unstable_renderSubtreeIntoContainer
2284
-
2285
- // Disables ReactDOM.unstable_createPortal
2286
-
2287
2317
  var React = {
2288
2318
  Children: {
2289
2319
  map: mapChildren,
@@ -1,4 +1,4 @@
1
- /** @license React v0.0.0-experimental-241c4467e
1
+ /** @license React v0.0.0-experimental-ea6ed3dbb
2
2
  * react.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -21,6 +21,6 @@ function ha(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.coun
21
21
  var W={suspense:null},X={Children:{map:function(a,b,c){if(null==a)return a;var e=[];T(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=O(null,null,b,c);S(a,fa,b);P(b)},count:function(a){return S(a,function(){return null},null)},toArray:function(a){var b=[];T(a,b,null,function(a){return a});return b},only:function(a){if(!L(a))throw Error(A(143));return a}},createRef:function(){return{current:null}},Component:D,PureComponent:F,createContext:function(a,b){void 0===b&&(b=null);a=
22
22
  {$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:x,render:a}},lazy:function(a){return{$$typeof:ca,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:ba,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return V().useCallback(a,b)},useContext:function(a,b){return V().useContext(a,b)},useEffect:function(a,b){return V().useEffect(a,
23
23
  b)},useImperativeHandle:function(a,b,c){return V().useImperativeHandle(a,b,c)},useDebugValue:function(){},useLayoutEffect:function(a,b){return V().useLayoutEffect(a,b)},useMemo:function(a,b){return V().useMemo(a,b)},useReducer:function(a,b,c){return V().useReducer(a,b,c)},useRef:function(a){return V().useRef(a)},useState:function(a){return V().useState(a)},Fragment:r,Profiler:u,StrictMode:t,Suspense:y,createElement:K,cloneElement:function(a,b,c){if(null===a||void 0===a)throw Error(A(267,a));var e=
24
- h({},a.props),d=a.key,g=a.ref,l=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,l=H.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(k in b)I.call(b,k)&&!J.hasOwnProperty(k)&&(e[k]=void 0===b[k]&&void 0!==f?f[k]:b[k])}var k=arguments.length-2;if(1===k)e.children=c;else if(1<k){f=Array(k);for(var n=0;n<k;n++)f[n]=arguments[n+2];e.children=f}return{$$typeof:p,type:a.type,key:d,ref:g,props:e,_owner:l}},isValidElement:L,version:"16.12.0-experimental-241c4467e",
24
+ h({},a.props),d=a.key,g=a.ref,l=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,l=H.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(k in b)I.call(b,k)&&!J.hasOwnProperty(k)&&(e[k]=void 0===b[k]&&void 0!==f?f[k]:b[k])}var k=arguments.length-2;if(1===k)e.children=c;else if(1<k){f=Array(k);for(var n=0;n<k;n++)f[n]=arguments[n+2];e.children=f}return{$$typeof:p,type:a.type,key:d,ref:g,props:e,_owner:l}},isValidElement:L,version:"16.12.0-experimental-ea6ed3dbb",
25
25
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:U,ReactCurrentBatchConfig:W,ReactCurrentOwner:H,IsSomeRendererActing:{current:!1},assign:h},createFactory:function(a){var b=K.bind(null,a);b.type=a;return b},useTransition:function(a){return V().useTransition(a)},useDeferredValue:function(a,b){return V().useDeferredValue(a,b)}};X.SuspenseList=aa;X.unstable_withSuspenseConfig=function(a,b){var c=W.suspense;W.suspense=void 0===b?null:b;try{a()}finally{W.suspense=c}};
26
26
  X.chunk=function(a,b){return function(){var c=arguments;return{$$typeof:da,query:function(){return a.apply(null,c)},render:b}}};var Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "0.0.0-experimental-241c4467e",
7
+ "version": "0.0.0-experimental-ea6ed3dbb",
8
8
  "homepage": "https://reactjs.org/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- /** @license React v0.0.0-experimental-241c4467e
1
+ /** @license React v0.0.0-experimental-ea6ed3dbb
2
2
  * react.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -17,7 +17,7 @@
17
17
 
18
18
  // TODO: this is special because it gets imported during build.
19
19
 
20
- var ReactVersion = '16.12.0-experimental-241c4467e';
20
+ var ReactVersion = '16.12.0-experimental-ea6ed3dbb';
21
21
 
22
22
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
23
23
  // nor polyfill, then a plain number is used for performance.
@@ -663,6 +663,100 @@ function createRef() {
663
663
  return refObject;
664
664
  }
665
665
 
666
+ // Helps identify side effects in render-phase lifecycle hooks and setState
667
+ // reducers by double invoking them in Strict Mode.
668
+
669
+ // To preserve the "Pause on caught exceptions" behavior of the debugger, we
670
+ // replay the begin phase of a failed component inside invokeGuardedCallback.
671
+
672
+ // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
673
+
674
+ // Gather advanced timing metrics for Profiler subtrees.
675
+
676
+ // Trace which interactions trigger each commit.
677
+
678
+ var enableSchedulerTracing = true; // SSR experiments
679
+
680
+
681
+ // Flight experiments
682
+
683
+ var enableChunksAPI = true; // Only used in www builds.
684
+
685
+ // Only used in www builds.
686
+
687
+ // Disable javascript: URL strings in href for XSS protection.
688
+
689
+ // These APIs will no longer be "unstable" in the upcoming 16.7 release,
690
+ // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
691
+
692
+ var exposeConcurrentModeAPIs = true;
693
+ // Experimental React Flare event system and event components support.
694
+
695
+ var enableDeprecatedFlareAPI = false; // Experimental Host Component support.
696
+
697
+ var enableFundamentalAPI = false; // Experimental Scope support.
698
+
699
+ var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
700
+
701
+ var enableJSXTransformAPI = false; // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
702
+ // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
703
+
704
+ // For tests, we flush suspense fallbacks in an act scope;
705
+ // *except* in some of our own tests, where we test incremental loading states.
706
+
707
+ // Add a callback property to suspense to notify which promises are currently
708
+ // in the update queue. This allows reporting and tracing of what is causing
709
+ // the user to see a loading state.
710
+ // Also allows hydration callbacks to fire when a dehydrated boundary gets
711
+ // hydrated or deleted.
712
+
713
+ // Part of the simplification of React.createElement so we can eventually move
714
+ // from React.createElement to React.jsx
715
+ // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
716
+
717
+
718
+
719
+
720
+ // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
721
+
722
+ // Controls sequence of passive effect destroy and create functions.
723
+ // If this flag is off, destroy and create functions may be interleaved.
724
+ // When the falg is on, all destroy functions will be run (for all fibers)
725
+ // before any create functions are run, similar to how layout effects work.
726
+ // This flag provides a killswitch if that proves to break existing code somehow.
727
+
728
+ // Controls behavior of deferred effect destroy functions during unmount.
729
+ // Previously these functions were run during commit (along with layout effects).
730
+ // Ideally we should delay these until after commit for performance reasons.
731
+ // This flag provides a killswitch if that proves to break existing code somehow.
732
+ //
733
+ // WARNING This flag only has an affect if used with runAllPassiveEffectDestroysBeforeCreates.
734
+
735
+
736
+ // --------------------------
737
+ // Future APIs to be deprecated
738
+ // --------------------------
739
+ // Prevent the value and checked attributes from syncing
740
+ // with their related DOM properties
741
+
742
+
743
+
744
+ // Disables React.createFactory
745
+
746
+ var disableCreateFactory = false; // Disables hydrate, render, findDOMNode, unmountComponentAtNode
747
+
748
+ // Disables children for <textarea> elements
749
+
750
+ // Disables Maps as ReactElement children
751
+
752
+ var disableMapsAsChildren = false; // Disables ReactDOM.unstable_renderSubtreeIntoContainer
753
+
754
+ // We should remove this flag once the above flag becomes enabled
755
+
756
+ // Disables ReactDOM.unstable_createPortal
757
+
758
+ // Modern event system where events get registered at roots
759
+
666
760
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
667
761
  var RESERVED_PROPS = {
668
762
  key: true,
@@ -1216,11 +1310,19 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
1216
1310
  var iteratorFn = getIteratorFn(children);
1217
1311
 
1218
1312
  if (typeof iteratorFn === 'function') {
1313
+ if (disableMapsAsChildren) {
1314
+ if (!(iteratorFn !== children.entries)) {
1315
+ {
1316
+ throw Error("Maps are not valid as a React child (found: " + children + "). Consider converting children to an array of keyed ReactElements instead.");
1317
+ }
1318
+ }
1319
+ }
1320
+
1219
1321
  {
1220
1322
  // Warn about using Maps as children
1221
1323
  if (iteratorFn === children.entries) {
1222
1324
  if (!didWarnAboutMaps) {
1223
- error('Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.');
1325
+ warn('Using Maps as children is deprecated and will be removed in ' + 'a future major release. Consider converting children to ' + 'an array of keyed ReactElements instead.');
1224
1326
  }
1225
1327
 
1226
1328
  didWarnAboutMaps = true;
@@ -2333,7 +2435,7 @@ function cloneElementWithValidation(element, props, children) {
2333
2435
  return newElement;
2334
2436
  }
2335
2437
 
2336
- var enableSchedulerDebugging = false;
2438
+ var enableSchedulerDebugging$1 = false;
2337
2439
  var enableIsInputPending = false;
2338
2440
  var enableProfiling = true;
2339
2441
 
@@ -2945,7 +3047,7 @@ function workLoop(hasTimeRemaining, initialTime) {
2945
3047
  advanceTimers(currentTime);
2946
3048
  currentTask = peek(taskQueue);
2947
3049
 
2948
- while (currentTask !== null && !(enableSchedulerDebugging && isSchedulerPaused)) {
3050
+ while (currentTask !== null && !(enableSchedulerDebugging$1 && isSchedulerPaused)) {
2949
3051
  if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
2950
3052
  // This currentTask hasn't expired, and we've reached the deadline.
2951
3053
  break;
@@ -3227,78 +3329,6 @@ var Scheduler = Object.freeze({
3227
3329
  unstable_Profiling: unstable_Profiling
3228
3330
  });
3229
3331
 
3230
- // Helps identify side effects in render-phase lifecycle hooks and setState
3231
- // reducers by double invoking them in Strict Mode.
3232
-
3233
- // To preserve the "Pause on caught exceptions" behavior of the debugger, we
3234
- // replay the begin phase of a failed component inside invokeGuardedCallback.
3235
-
3236
- // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
3237
-
3238
- // Gather advanced timing metrics for Profiler subtrees.
3239
-
3240
- // Trace which interactions trigger each commit.
3241
-
3242
- var enableSchedulerTracing = true; // SSR experiments
3243
-
3244
-
3245
- // Flight experiments
3246
-
3247
- var enableChunksAPI = true; // Only used in www builds.
3248
-
3249
- // Only used in www builds.
3250
-
3251
- // Disable javascript: URL strings in href for XSS protection.
3252
-
3253
- // These APIs will no longer be "unstable" in the upcoming 16.7 release,
3254
- // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
3255
-
3256
- var exposeConcurrentModeAPIs = true;
3257
- // Experimental React Flare event system and event components support.
3258
-
3259
- var enableDeprecatedFlareAPI = false; // Experimental Host Component support.
3260
-
3261
- var enableFundamentalAPI = false; // Experimental Scope support.
3262
-
3263
- var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
3264
-
3265
- var enableJSXTransformAPI = false; // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
3266
- // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
3267
-
3268
- // For tests, we flush suspense fallbacks in an act scope;
3269
- // *except* in some of our own tests, where we test incremental loading states.
3270
-
3271
- // Add a callback property to suspense to notify which promises are currently
3272
- // in the update queue. This allows reporting and tracing of what is causing
3273
- // the user to see a loading state.
3274
- // Also allows hydration callbacks to fire when a dehydrated boundary gets
3275
- // hydrated or deleted.
3276
-
3277
- // Part of the simplification of React.createElement so we can eventually move
3278
- // from React.createElement to React.jsx
3279
- // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
3280
-
3281
-
3282
-
3283
-
3284
- // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
3285
-
3286
- // --------------------------
3287
- // Future APIs to be deprecated
3288
- // --------------------------
3289
- // Prevent the value and checked attributes from syncing
3290
- // with their related DOM properties
3291
-
3292
-
3293
-
3294
- // Disables React.createFactory
3295
-
3296
- var disableCreateFactory = false; // Disables children for <textarea> elements
3297
-
3298
- // Disables ReactDOM.unstable_renderSubtreeIntoContainer
3299
-
3300
- // Disables ReactDOM.unstable_createPortal
3301
-
3302
3332
  var DEFAULT_THREAD_ID = 0; // Counters used to generate unique IDs.
3303
3333
 
3304
3334
  var interactionIDCounter = 0;
@@ -1,4 +1,4 @@
1
- /** @license React v0.0.0-experimental-241c4467e
1
+ /** @license React v0.0.0-experimental-ea6ed3dbb
2
2
  * react.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -29,5 +29,5 @@ unstable_clear:function(a){return a()},unstable_getCurrent:function(){return nul
29
29
  toArray:function(a){var b=[];T(a,b,null,function(a){return a});return b},only:function(a){if(!P(a))throw Error(v(143));return a}},createRef:function(){return{current:null}},Component:r,PureComponent:N,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ea,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Da,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Fa,render:a}},lazy:function(a){return{$$typeof:Ia,
30
30
  _ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ha,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return m().useCallback(a,b)},useContext:function(a,b){return m().useContext(a,b)},useEffect:function(a,b){return m().useEffect(a,b)},useImperativeHandle:function(a,b,c){return m().useImperativeHandle(a,b,c)},useDebugValue:function(a,b){},useLayoutEffect:function(a,b){return m().useLayoutEffect(a,b)},useMemo:function(a,b){return m().useMemo(a,b)},useReducer:function(a,
31
31
  b,c){return m().useReducer(a,b,c)},useRef:function(a){return m().useRef(a)},useState:function(a){return m().useState(a)},Fragment:x,Profiler:Ca,StrictMode:Ba,Suspense:Ga,createElement:ha,cloneElement:function(a,b,c){if(null===a||void 0===a)throw Error(v(267,a));var d=K({},a.props),e=a.key,f=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,h=O.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)ia.call(b,k)&&!ja.hasOwnProperty(k)&&(d[k]=void 0===
32
- b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:z,type:a.type,key:e,ref:f,props:d,_owner:h}},isValidElement:P,version:"16.12.0-experimental-241c4467e",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D,createFactory:function(a){var b=ha.bind(null,a);b.type=a;return b},useTransition:function(a){return m().useTransition(a)},useDeferredValue:function(a,b){return m().useDeferredValue(a,
32
+ b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:z,type:a.type,key:e,ref:f,props:d,_owner:h}},isValidElement:P,version:"16.12.0-experimental-ea6ed3dbb",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D,createFactory:function(a){var b=ha.bind(null,a);b.type=a;return b},useTransition:function(a){return m().useTransition(a)},useDeferredValue:function(a,b){return m().useDeferredValue(a,
33
33
  b)}};x.SuspenseList=y;x.unstable_withSuspenseConfig=function(a,b){a()};x.chunk=function(a,b){return function(){var c=arguments;return{$$typeof:Ja,query:function(){return a.apply(null,c)},render:b}}};y=(y={default:x},x)||y;return y.default||y});
@@ -1,4 +1,4 @@
1
- /** @license React v0.0.0-experimental-241c4467e
1
+ /** @license React v0.0.0-experimental-ea6ed3dbb
2
2
  * react.profiling.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -36,5 +36,5 @@ var f=!1;b.cancel=function(){e=B.current;try{if(null!==e)e.onWorkCanceled(d,c)}f
36
36
  b,c){if(null==a)return a;var d=[];ca(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=wa(null,null,b,c);ba(a,Sa,b);xa(b)},count:function(a){return ba(a,function(){return null},null)},toArray:function(a){var b=[];ca(a,b,null,function(a){return a});return b},only:function(a){if(!Y(a))throw Error(C(143));return a}},createRef:function(){return{current:null}},Component:y,PureComponent:W,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:eb,_calculateChangedBits:b,_currentValue:a,
37
37
  _currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:db,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:fb,render:a}},lazy:function(a){return{$$typeof:jb,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:ib,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return v().useCallback(a,b)},useContext:function(a,b){return v().useContext(a,b)},useEffect:function(a,b){return v().useEffect(a,b)},useImperativeHandle:function(a,
38
38
  b,c){return v().useImperativeHandle(a,b,c)},useDebugValue:function(a,b){},useLayoutEffect:function(a,b){return v().useLayoutEffect(a,b)},useMemo:function(a,b){return v().useMemo(a,b)},useReducer:function(a,b,c){return v().useReducer(a,b,c)},useRef:function(a){return v().useRef(a)},useState:function(a){return v().useState(a)},Fragment:ab,Profiler:cb,StrictMode:bb,Suspense:gb,createElement:ta,cloneElement:function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var d=T({},a.props),e=a.key,f=a.ref,
39
- k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=X.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in b)ua.call(b,h)&&!va.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var l=0;l<h;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:F,type:a.type,key:e,ref:f,props:d,_owner:k}},isValidElement:Y,version:"16.12.0-experimental-241c4467e",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ma,
39
+ k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=X.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in b)ua.call(b,h)&&!va.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var l=0;l<h;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:F,type:a.type,key:e,ref:f,props:d,_owner:k}},isValidElement:Y,version:"16.12.0-experimental-ea6ed3dbb",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ma,
40
40
  createFactory:function(a){var b=ta.bind(null,a);b.type=a;return b},useTransition:function(a){return v().useTransition(a)},useDeferredValue:function(a,b){return v().useDeferredValue(a,b)}};L.SuspenseList=hb;L.unstable_withSuspenseConfig=function(a,b){a()};L.chunk=function(a,b){return function(){var c=arguments;return{$$typeof:kb,query:function(){return a.apply(null,c)},render:b}}};var Na={default:L},Oa=Na&&L||Na;return Oa.default||Oa});