Skip to content

Commit e8571c7

Browse files
authored
Tweak ReactTypeOfWork order (facebook#13444)
1 parent 973496b commit e8571c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/shared/ReactTypeOfWork.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ export type TypeOfWork =
2626
| 15
2727
| 16;
2828

29-
export const IndeterminateComponent = 0; // Before we know whether it is functional or class
30-
export const FunctionalComponent = 1;
31-
export const FunctionalComponentLazy = 2;
32-
export const ClassComponent = 3;
33-
export const ClassComponentLazy = 4;
29+
export const FunctionalComponent = 0;
30+
export const FunctionalComponentLazy = 1;
31+
export const ClassComponent = 2;
32+
export const ClassComponentLazy = 3;
33+
export const IndeterminateComponent = 4; // Before we know whether it is functional or class
3434
export const HostRoot = 5; // Root of a host tree. Could be nested inside another node.
3535
export const HostPortal = 6; // A subtree. Could be an entry point to a different renderer.
3636
export const HostComponent = 7;

0 commit comments

Comments
 (0)