Feedback on style
Sebastian Markbage committed
Jun 21, 2016 at 17:50 UTC
385d08588616594c0f3cc4bc09ea0bcd72fbadc8
1 file changed
+5
-2
src/renderers/shared/fiber/ReactFiber.js
+5
-2
@@ -12,6 +12,7 @@
12
13
'use strict';
14
15
+import type { ReactCoroutine, ReactYield } from 'ReactCoroutine';
16
import type { TypeOfWork } from 'ReactTypeOfWork';
17
import type { PriorityLevel } from 'ReactPriorityLevel';
18
@@ -27,7 +28,9 @@ var {
28
29
var ReactElement = require('ReactElement');
30
30
-import type { ReactCoroutine, ReactYield } from 'ReactCoroutine';
31
+var {
32
+ NoWork,
33
+} = require('ReactPriorityLevel');
34
35
// An Instance is shared between all versions of a component. We can easily
36
// break this out into a separate object to avoid copying so much to the
@@ -121,7 +124,7 @@ var createFiber = function(tag : TypeOfWork, key : null | string) : Fiber {
124
memoizedProps: null,
125
output: null,
126
124
- pendingWorkPriority: 0,
127
+ pendingWorkPriority: NoWork,
128
129
alternate: null,
130