react-dom 15.4.0-rc.1 → 15.4.0

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.
Files changed (172) hide show
  1. package/dist/react-dom-server.js +330 -434
  2. package/dist/react-dom-server.min.js +5 -5
  3. package/dist/react-dom.js +420 -535
  4. package/dist/react-dom.min.js +5 -5
  5. package/lib/ARIADOMPropertyConfig.js +0 -1
  6. package/lib/AutoFocusUtils.js +0 -1
  7. package/lib/BeforeInputEventPlugin.js +0 -1
  8. package/lib/CSSProperty.js +0 -1
  9. package/lib/CSSPropertyOperations.js +0 -1
  10. package/lib/CallbackQueue.js +0 -1
  11. package/lib/ChangeEventPlugin.js +0 -1
  12. package/lib/DOMChildrenOperations.js +0 -1
  13. package/lib/DOMLazyTree.js +0 -1
  14. package/lib/DOMNamespaces.js +0 -1
  15. package/lib/DOMProperty.js +0 -1
  16. package/lib/DOMPropertyOperations.js +0 -1
  17. package/lib/Danger.js +0 -1
  18. package/lib/DefaultEventPluginOrder.js +0 -1
  19. package/lib/EnterLeaveEventPlugin.js +0 -1
  20. package/lib/EventConstants.js +0 -1
  21. package/lib/EventPluginHub.js +0 -1
  22. package/lib/EventPluginRegistry.js +0 -1
  23. package/lib/EventPluginUtils.js +0 -1
  24. package/lib/EventPropagators.js +0 -1
  25. package/lib/FallbackCompositionState.js +0 -1
  26. package/lib/HTMLDOMPropertyConfig.js +0 -1
  27. package/lib/KeyEscapeUtils.js +0 -1
  28. package/lib/LinkedValueUtils.js +0 -1
  29. package/lib/PluginModuleType.js +0 -1
  30. package/lib/PooledClass.js +0 -1
  31. package/lib/ReactBrowserEventEmitter.js +0 -1
  32. package/lib/ReactChildFiber.js +7 -10
  33. package/lib/ReactChildReconciler.js +0 -1
  34. package/lib/ReactComponentBrowserEnvironment.js +0 -1
  35. package/lib/ReactComponentEnvironment.js +0 -1
  36. package/lib/ReactComponentTreeTestUtils.js +0 -1
  37. package/lib/ReactCompositeComponent.js +2 -3
  38. package/lib/ReactCoroutine.js +0 -1
  39. package/lib/ReactDOM.js +0 -1
  40. package/lib/ReactDOMComponent.js +0 -1
  41. package/lib/ReactDOMComponentFlags.js +0 -1
  42. package/lib/ReactDOMComponentTree.js +0 -1
  43. package/lib/ReactDOMContainerInfo.js +0 -1
  44. package/lib/ReactDOMEmptyComponent.js +0 -1
  45. package/lib/ReactDOMFeatureFlags.js +0 -1
  46. package/lib/ReactDOMFiber.js +0 -1
  47. package/lib/ReactDOMIDOperations.js +0 -1
  48. package/lib/ReactDOMInput.js +0 -1
  49. package/lib/ReactDOMInvalidARIAHook.js +0 -1
  50. package/lib/ReactDOMNullInputValuePropHook.js +0 -1
  51. package/lib/ReactDOMOption.js +0 -1
  52. package/lib/ReactDOMSelect.js +0 -1
  53. package/lib/ReactDOMSelection.js +0 -1
  54. package/lib/ReactDOMServer.js +0 -1
  55. package/lib/ReactDOMServerUMDEntry.js +0 -1
  56. package/lib/ReactDOMTextComponent.js +0 -1
  57. package/lib/ReactDOMTextarea.js +0 -1
  58. package/lib/ReactDOMTreeTraversal.js +0 -1
  59. package/lib/ReactDOMUMDEntry.js +0 -1
  60. package/lib/ReactDOMUnknownPropertyHook.js +0 -1
  61. package/lib/ReactDebugTool.js +5 -7
  62. package/lib/ReactDefaultBatchingStrategy.js +0 -1
  63. package/lib/ReactDefaultInjection.js +0 -1
  64. package/lib/ReactElementSymbol.js +0 -1
  65. package/lib/ReactEmptyComponent.js +0 -1
  66. package/lib/ReactErrorUtils.js +0 -1
  67. package/lib/ReactEventEmitterMixin.js +0 -1
  68. package/lib/ReactEventListener.js +0 -1
  69. package/lib/ReactFeatureFlags.js +0 -1
  70. package/lib/ReactFiber.js +9 -10
  71. package/lib/ReactFiberBeginWork.js +26 -32
  72. package/lib/ReactFiberCommitWork.js +5 -8
  73. package/lib/ReactFiberCompleteWork.js +13 -15
  74. package/lib/ReactFiberReconciler.js +5 -9
  75. package/lib/ReactFiberRoot.js +2 -5
  76. package/lib/ReactFiberScheduler.js +13 -21
  77. package/lib/ReactFiberUpdateQueue.js +0 -1
  78. package/lib/ReactHostComponent.js +0 -1
  79. package/lib/ReactHostOperationHistoryHook.js +0 -1
  80. package/lib/ReactInjection.js +0 -1
  81. package/lib/ReactInputSelection.js +0 -1
  82. package/lib/ReactInstanceMap.js +0 -1
  83. package/lib/ReactInstanceType.js +9 -10
  84. package/lib/ReactInstrumentation.js +0 -1
  85. package/lib/ReactInvalidSetStateWarningHook.js +0 -1
  86. package/lib/ReactMarkupChecksum.js +0 -1
  87. package/lib/ReactMount.js +0 -1
  88. package/lib/ReactMultiChild.js +0 -1
  89. package/lib/ReactMultiChildUpdateTypes.js +0 -1
  90. package/lib/ReactNodeTypes.js +0 -1
  91. package/lib/ReactOwner.js +2 -3
  92. package/lib/ReactPerf.js +45 -46
  93. package/lib/ReactPriorityLevel.js +0 -1
  94. package/lib/ReactPropTypeLocationNames.js +0 -1
  95. package/lib/ReactPropTypeLocations.js +0 -1
  96. package/lib/ReactPropTypesSecret.js +0 -1
  97. package/lib/ReactReconcileTransaction.js +0 -1
  98. package/lib/ReactReconciler.js +2 -3
  99. package/lib/ReactRef.js +5 -6
  100. package/lib/ReactReifiedYield.js +2 -5
  101. package/lib/ReactServerBatchingStrategy.js +0 -1
  102. package/lib/ReactServerRendering.js +0 -1
  103. package/lib/ReactServerRenderingTransaction.js +0 -1
  104. package/lib/ReactServerUpdateQueue.js +0 -1
  105. package/lib/ReactShallowRenderer.js +3 -5
  106. package/lib/ReactSimpleEmptyComponent.js +0 -1
  107. package/lib/ReactSyntheticEventType.js +0 -1
  108. package/lib/ReactTestUtils.js +2 -3
  109. package/lib/ReactTypeOfWork.js +0 -1
  110. package/lib/ReactTypes.js +0 -1
  111. package/lib/ReactUpdateQueue.js +0 -1
  112. package/lib/ReactUpdates.js +0 -1
  113. package/lib/ReactVersion.js +1 -2
  114. package/lib/ResponderEventPlugin.js +0 -1
  115. package/lib/ResponderSyntheticEvent.js +0 -1
  116. package/lib/ResponderTouchHistoryStore.js +3 -4
  117. package/lib/SVGDOMPropertyConfig.js +0 -1
  118. package/lib/SelectEventPlugin.js +0 -1
  119. package/lib/SimpleEventPlugin.js +0 -1
  120. package/lib/SyntheticAnimationEvent.js +0 -1
  121. package/lib/SyntheticClipboardEvent.js +0 -1
  122. package/lib/SyntheticCompositionEvent.js +0 -1
  123. package/lib/SyntheticDragEvent.js +0 -1
  124. package/lib/SyntheticEvent.js +0 -1
  125. package/lib/SyntheticFocusEvent.js +0 -1
  126. package/lib/SyntheticInputEvent.js +0 -1
  127. package/lib/SyntheticKeyboardEvent.js +0 -1
  128. package/lib/SyntheticMouseEvent.js +0 -1
  129. package/lib/SyntheticTouchEvent.js +0 -1
  130. package/lib/SyntheticTransitionEvent.js +0 -1
  131. package/lib/SyntheticUIEvent.js +0 -1
  132. package/lib/SyntheticWheelEvent.js +0 -1
  133. package/lib/TapEventPlugin.js +0 -1
  134. package/lib/TouchHistoryMath.js +0 -1
  135. package/lib/Transaction.js +0 -1
  136. package/lib/ViewportMetrics.js +0 -1
  137. package/lib/accumulate.js +0 -1
  138. package/lib/accumulateInto.js +0 -1
  139. package/lib/adler32.js +0 -1
  140. package/lib/canDefineProperty.js +0 -1
  141. package/lib/checkReactTypeSpec.js +0 -1
  142. package/lib/createMicrosoftUnsafeLocalFunction.js +0 -1
  143. package/lib/dangerousStyleValue.js +0 -1
  144. package/lib/deprecated.js +0 -1
  145. package/lib/escapeTextContentForBrowser.js +0 -1
  146. package/lib/findDOMNode.js +0 -1
  147. package/lib/flattenChildren.js +0 -1
  148. package/lib/forEachAccumulated.js +0 -1
  149. package/lib/getEventCharCode.js +0 -1
  150. package/lib/getEventKey.js +0 -1
  151. package/lib/getEventModifierState.js +0 -1
  152. package/lib/getEventTarget.js +0 -1
  153. package/lib/getHostComponentFromComposite.js +0 -1
  154. package/lib/getIteratorFn.js +0 -1
  155. package/lib/getNextDebugID.js +20 -0
  156. package/lib/getNodeForCharacterOffset.js +0 -1
  157. package/lib/getTestDocument.js +0 -1
  158. package/lib/getTextContentAccessor.js +0 -1
  159. package/lib/getVendorPrefixedEventName.js +0 -1
  160. package/lib/instantiateReactComponent.js +2 -4
  161. package/lib/isEventSupported.js +0 -1
  162. package/lib/isTextInputElement.js +0 -1
  163. package/lib/quoteAttributeValueForBrowser.js +0 -1
  164. package/lib/reactComponentExpect.js +0 -1
  165. package/lib/reactProdInvariant.js +0 -1
  166. package/lib/renderSubtreeIntoContainer.js +1 -2
  167. package/lib/setInnerHTML.js +0 -1
  168. package/lib/setTextContent.js +0 -1
  169. package/lib/shouldUpdateReactComponent.js +0 -1
  170. package/lib/traverseAllChildren.js +0 -1
  171. package/lib/validateDOMNesting.js +0 -1
  172. package/package.json +2 -2
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFeatureFlags
10
9
  *
11
10
  */
12
11
 
package/lib/ReactFiber.js CHANGED
@@ -6,23 +6,21 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiber
10
9
  *
11
10
  */
12
11
 
13
12
  'use strict';
14
13
 
15
14
  var ReactTypeOfWork = require('./ReactTypeOfWork');
16
- var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent;
17
- var ClassComponent = ReactTypeOfWork.ClassComponent;
18
- var HostContainer = ReactTypeOfWork.HostContainer;
19
- var HostComponent = ReactTypeOfWork.HostComponent;
20
- var CoroutineComponent = ReactTypeOfWork.CoroutineComponent;
21
- var YieldComponent = ReactTypeOfWork.YieldComponent;
15
+ var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent,
16
+ ClassComponent = ReactTypeOfWork.ClassComponent,
17
+ HostContainer = ReactTypeOfWork.HostContainer,
18
+ HostComponent = ReactTypeOfWork.HostComponent,
19
+ CoroutineComponent = ReactTypeOfWork.CoroutineComponent,
20
+ YieldComponent = ReactTypeOfWork.YieldComponent;
22
21
 
23
- var _require = require('./ReactPriorityLevel');
24
-
25
- var NoWork = _require.NoWork;
22
+ var _require = require('./ReactPriorityLevel'),
23
+ NoWork = _require.NoWork;
26
24
 
27
25
  // An Instance is shared between all versions of a component. We can easily
28
26
  // break this out into a separate object to avoid copying so much to the
@@ -33,6 +31,7 @@ var NoWork = _require.NoWork;
33
31
  // A Fiber is work on a Component that needs to be done or was done. There can
34
32
  // be more than one per component.
35
33
 
34
+
36
35
  // This is a constructor of a POJO instead of a constructor function for a few
37
36
  // reasons:
38
37
  // 1) Nobody should add any instance methods on this. Instance methods can be
@@ -6,43 +6,38 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiberBeginWork
10
9
  *
11
10
  */
12
11
 
13
12
  'use strict';
14
13
 
15
- var _require = require('./ReactChildFiber');
14
+ var _require = require('./ReactChildFiber'),
15
+ reconcileChildFibers = _require.reconcileChildFibers,
16
+ reconcileChildFibersInPlace = _require.reconcileChildFibersInPlace,
17
+ cloneChildFibers = _require.cloneChildFibers;
16
18
 
17
- var reconcileChildFibers = _require.reconcileChildFibers;
18
- var reconcileChildFibersInPlace = _require.reconcileChildFibersInPlace;
19
- var cloneChildFibers = _require.cloneChildFibers;
20
-
21
- var _require2 = require('./ReactPriorityLevel');
22
-
23
- var LowPriority = _require2.LowPriority;
19
+ var _require2 = require('./ReactPriorityLevel'),
20
+ LowPriority = _require2.LowPriority;
24
21
 
25
22
  var ReactTypeOfWork = require('./ReactTypeOfWork');
26
- var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent;
27
- var FunctionalComponent = ReactTypeOfWork.FunctionalComponent;
28
- var ClassComponent = ReactTypeOfWork.ClassComponent;
29
- var HostContainer = ReactTypeOfWork.HostContainer;
30
- var HostComponent = ReactTypeOfWork.HostComponent;
31
- var CoroutineComponent = ReactTypeOfWork.CoroutineComponent;
32
- var CoroutineHandlerPhase = ReactTypeOfWork.CoroutineHandlerPhase;
33
- var YieldComponent = ReactTypeOfWork.YieldComponent;
34
-
35
- var _require3 = require('./ReactPriorityLevel');
36
-
37
- var NoWork = _require3.NoWork;
38
- var OffscreenPriority = _require3.OffscreenPriority;
39
-
40
- var _require4 = require('./ReactFiberUpdateQueue');
41
-
42
- var createUpdateQueue = _require4.createUpdateQueue;
43
- var addToQueue = _require4.addToQueue;
44
- var addCallbackToQueue = _require4.addCallbackToQueue;
45
- var mergeUpdateQueue = _require4.mergeUpdateQueue;
23
+ var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent,
24
+ FunctionalComponent = ReactTypeOfWork.FunctionalComponent,
25
+ ClassComponent = ReactTypeOfWork.ClassComponent,
26
+ HostContainer = ReactTypeOfWork.HostContainer,
27
+ HostComponent = ReactTypeOfWork.HostComponent,
28
+ CoroutineComponent = ReactTypeOfWork.CoroutineComponent,
29
+ CoroutineHandlerPhase = ReactTypeOfWork.CoroutineHandlerPhase,
30
+ YieldComponent = ReactTypeOfWork.YieldComponent;
31
+
32
+ var _require3 = require('./ReactPriorityLevel'),
33
+ NoWork = _require3.NoWork,
34
+ OffscreenPriority = _require3.OffscreenPriority;
35
+
36
+ var _require4 = require('./ReactFiberUpdateQueue'),
37
+ createUpdateQueue = _require4.createUpdateQueue,
38
+ addToQueue = _require4.addToQueue,
39
+ addCallbackToQueue = _require4.addCallbackToQueue,
40
+ mergeUpdateQueue = _require4.mergeUpdateQueue;
46
41
 
47
42
  var ReactInstanceMap = require('./ReactInstanceMap');
48
43
 
@@ -104,9 +99,8 @@ module.exports = function (config, getScheduler) {
104
99
  }
105
100
 
106
101
  function scheduleUpdate(fiber, updateQueue, priorityLevel) {
107
- var _getScheduler = getScheduler();
108
-
109
- var scheduleDeferredWork = _getScheduler.scheduleDeferredWork;
102
+ var _getScheduler = getScheduler(),
103
+ scheduleDeferredWork = _getScheduler.scheduleDeferredWork;
110
104
 
111
105
  fiber.updateQueue = updateQueue;
112
106
  // Schedule update on the alternate as well, since we don't know which tree
@@ -6,21 +6,18 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiberCommitWork
10
9
  *
11
10
  */
12
11
 
13
12
  'use strict';
14
13
 
15
14
  var ReactTypeOfWork = require('./ReactTypeOfWork');
16
- var ClassComponent = ReactTypeOfWork.ClassComponent;
17
- var HostContainer = ReactTypeOfWork.HostContainer;
18
- var HostComponent = ReactTypeOfWork.HostComponent;
19
-
20
- var _require = require('./ReactFiberUpdateQueue');
21
-
22
- var callCallbacks = _require.callCallbacks;
15
+ var ClassComponent = ReactTypeOfWork.ClassComponent,
16
+ HostContainer = ReactTypeOfWork.HostContainer,
17
+ HostComponent = ReactTypeOfWork.HostComponent;
23
18
 
19
+ var _require = require('./ReactFiberUpdateQueue'),
20
+ callCallbacks = _require.callCallbacks;
24
21
 
25
22
  module.exports = function (config) {
26
23
 
@@ -6,25 +6,23 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiberCompleteWork
10
9
  *
11
10
  */
12
11
 
13
12
  'use strict';
14
13
 
15
- var _require = require('./ReactChildFiber');
16
-
17
- var reconcileChildFibers = _require.reconcileChildFibers;
14
+ var _require = require('./ReactChildFiber'),
15
+ reconcileChildFibers = _require.reconcileChildFibers;
18
16
 
19
17
  var ReactTypeOfWork = require('./ReactTypeOfWork');
20
- var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent;
21
- var FunctionalComponent = ReactTypeOfWork.FunctionalComponent;
22
- var ClassComponent = ReactTypeOfWork.ClassComponent;
23
- var HostContainer = ReactTypeOfWork.HostContainer;
24
- var HostComponent = ReactTypeOfWork.HostComponent;
25
- var CoroutineComponent = ReactTypeOfWork.CoroutineComponent;
26
- var CoroutineHandlerPhase = ReactTypeOfWork.CoroutineHandlerPhase;
27
- var YieldComponent = ReactTypeOfWork.YieldComponent;
18
+ var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent,
19
+ FunctionalComponent = ReactTypeOfWork.FunctionalComponent,
20
+ ClassComponent = ReactTypeOfWork.ClassComponent,
21
+ HostContainer = ReactTypeOfWork.HostContainer,
22
+ HostComponent = ReactTypeOfWork.HostComponent,
23
+ CoroutineComponent = ReactTypeOfWork.CoroutineComponent,
24
+ CoroutineHandlerPhase = ReactTypeOfWork.CoroutineHandlerPhase,
25
+ YieldComponent = ReactTypeOfWork.YieldComponent;
28
26
 
29
27
 
30
28
  module.exports = function (config) {
@@ -127,9 +125,9 @@ module.exports = function (config) {
127
125
  // merged it and assigned it to the instance. Transfer it from there.
128
126
  // Also need to transfer the props, because pendingProps will be null
129
127
  // in the case of an update
130
- var _workInProgress$state = workInProgress.stateNode;
131
- var state = _workInProgress$state.state;
132
- var props = _workInProgress$state.props;
128
+ var _workInProgress$state = workInProgress.stateNode,
129
+ state = _workInProgress$state.state,
130
+ props = _workInProgress$state.props;
133
131
 
134
132
  workInProgress.memoizedState = state;
135
133
  workInProgress.memoizedProps = props;
@@ -6,24 +6,20 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiberReconciler
10
9
  *
11
10
  */
12
11
 
13
12
  'use strict';
14
13
 
15
- var _require = require('./ReactFiberRoot');
16
-
17
- var createFiberRoot = _require.createFiberRoot;
14
+ var _require = require('./ReactFiberRoot'),
15
+ createFiberRoot = _require.createFiberRoot;
18
16
 
19
17
  var ReactFiberScheduler = require('./ReactFiberScheduler');
20
18
 
21
19
  module.exports = function (config) {
22
- var _ReactFiberScheduler = ReactFiberScheduler(config);
23
-
24
- var scheduleWork = _ReactFiberScheduler.scheduleWork;
25
- var performWithPriority = _ReactFiberScheduler.performWithPriority;
26
-
20
+ var _ReactFiberScheduler = ReactFiberScheduler(config),
21
+ scheduleWork = _ReactFiberScheduler.scheduleWork,
22
+ performWithPriority = _ReactFiberScheduler.performWithPriority;
27
23
 
28
24
  return {
29
25
  mountContainer: function (element, containerInfo) {
@@ -6,16 +6,13 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiberRoot
10
9
  *
11
10
  */
12
11
 
13
12
  'use strict';
14
13
 
15
- var _require = require('./ReactFiber');
16
-
17
- var createHostContainerFiber = _require.createHostContainerFiber;
18
-
14
+ var _require = require('./ReactFiber'),
15
+ createHostContainerFiber = _require.createHostContainerFiber;
19
16
 
20
17
  exports.createFiberRoot = function (containerInfo) {
21
18
  // Cyclic construction. This cheats the type system right now because
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiberScheduler
10
9
  *
11
10
  */
12
11
 
@@ -16,17 +15,14 @@ var ReactFiberBeginWork = require('./ReactFiberBeginWork');
16
15
  var ReactFiberCompleteWork = require('./ReactFiberCompleteWork');
17
16
  var ReactFiberCommitWork = require('./ReactFiberCommitWork');
18
17
 
19
- var _require = require('./ReactFiber');
20
-
21
- var cloneFiber = _require.cloneFiber;
22
-
23
- var _require2 = require('./ReactPriorityLevel');
24
-
25
- var NoWork = _require2.NoWork;
26
- var LowPriority = _require2.LowPriority;
27
- var AnimationPriority = _require2.AnimationPriority;
28
- var SynchronousPriority = _require2.SynchronousPriority;
18
+ var _require = require('./ReactFiber'),
19
+ cloneFiber = _require.cloneFiber;
29
20
 
21
+ var _require2 = require('./ReactPriorityLevel'),
22
+ NoWork = _require2.NoWork,
23
+ LowPriority = _require2.LowPriority,
24
+ AnimationPriority = _require2.AnimationPriority,
25
+ SynchronousPriority = _require2.SynchronousPriority;
30
26
 
31
27
  var timeHeuristicForUnitOfWork = 1;
32
28
 
@@ -38,18 +34,14 @@ module.exports = function (config) {
38
34
  return scheduler;
39
35
  }
40
36
 
41
- var _ReactFiberBeginWork = ReactFiberBeginWork(config, getScheduler);
42
-
43
- var beginWork = _ReactFiberBeginWork.beginWork;
44
-
45
- var _ReactFiberCompleteWo = ReactFiberCompleteWork(config);
46
-
47
- var completeWork = _ReactFiberCompleteWo.completeWork;
48
-
49
- var _ReactFiberCommitWork = ReactFiberCommitWork(config);
37
+ var _ReactFiberBeginWork = ReactFiberBeginWork(config, getScheduler),
38
+ beginWork = _ReactFiberBeginWork.beginWork;
50
39
 
51
- var commitWork = _ReactFiberCommitWork.commitWork;
40
+ var _ReactFiberCompleteWo = ReactFiberCompleteWork(config),
41
+ completeWork = _ReactFiberCompleteWo.completeWork;
52
42
 
43
+ var _ReactFiberCommitWork = ReactFiberCommitWork(config),
44
+ commitWork = _ReactFiberCommitWork.commitWork;
53
45
 
54
46
  var scheduleAnimationCallback = config.scheduleAnimationCallback;
55
47
  var scheduleDeferredCallback = config.scheduleDeferredCallback;
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactFiberUpdateQueue
10
9
  *
11
10
  */
12
11
 
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactHostComponent
10
9
  */
11
10
 
12
11
  'use strict';
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactHostOperationHistoryHook
10
9
  *
11
10
  */
12
11
 
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactInjection
10
9
  */
11
10
 
12
11
  'use strict';
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactInputSelection
10
9
  */
11
10
 
12
11
  'use strict';
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactInstanceMap
10
9
  */
11
10
 
12
11
  'use strict';
@@ -1,13 +1,12 @@
1
1
  /**
2
- * Copyright 2016-present, Facebook, Inc.
3
- * All rights reserved.
4
- *
5
- * This source code is licensed under the BSD-style license found in the
6
- * LICENSE file in the root directory of this source tree. An additional grant
7
- * of patent rights can be found in the PATENTS file in the same directory.
8
- *
9
- *
10
- * @providesModule ReactInstanceType
11
- */
2
+ * Copyright 2016-present, Facebook, Inc.
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree. An additional grant
7
+ * of patent rights can be found in the PATENTS file in the same directory.
8
+ *
9
+ *
10
+ */
12
11
 
13
12
  'use strict';
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactInstrumentation
10
9
  *
11
10
  */
12
11
 
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactInvalidSetStateWarningHook
10
9
  *
11
10
  */
12
11
 
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactMarkupChecksum
10
9
  */
11
10
 
12
11
  'use strict';
package/lib/ReactMount.js CHANGED
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactMount
10
9
  */
11
10
 
12
11
  'use strict';
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactMultiChild
10
9
  */
11
10
 
12
11
  'use strict';
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactMultiChildUpdateTypes
10
9
  */
11
10
 
12
11
  'use strict';
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactNodeTypes
10
9
  *
11
10
  */
12
11
 
package/lib/ReactOwner.js CHANGED
@@ -6,7 +6,6 @@
6
6
  * LICENSE file in the root directory of this source tree. An additional grant
7
7
  * of patent rights can be found in the PATENTS file in the same directory.
8
8
  *
9
- * @providesModule ReactOwner
10
9
  *
11
10
  */
12
11
 
@@ -65,9 +64,9 @@ var ReactOwner = {
65
64
  * @final
66
65
  * @internal
67
66
  */
68
- addComponentAsRefTo: function (component, ref, owner, transaction) {
67
+ addComponentAsRefTo: function (component, ref, owner) {
69
68
  !isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('119') : void 0;
70
- owner.attachRef(ref, component, transaction);
69
+ owner.attachRef(ref, component);
71
70
  },
72
71
 
73
72
  /**