From e8571c798d56ad19b57ae762afa260a76939aa8c Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 20 Aug 2018 16:51:09 +0100 Subject: [PATCH] Tweak ReactTypeOfWork order (#13444) --- packages/shared/ReactTypeOfWork.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/shared/ReactTypeOfWork.js b/packages/shared/ReactTypeOfWork.js index 4b3cfe80e1..601d34a95e 100644 --- a/packages/shared/ReactTypeOfWork.js +++ b/packages/shared/ReactTypeOfWork.js @@ -26,11 +26,11 @@ export type TypeOfWork = | 15 | 16; -export const IndeterminateComponent = 0; // Before we know whether it is functional or class -export const FunctionalComponent = 1; -export const FunctionalComponentLazy = 2; -export const ClassComponent = 3; -export const ClassComponentLazy = 4; +export const FunctionalComponent = 0; +export const FunctionalComponentLazy = 1; +export const ClassComponent = 2; +export const ClassComponentLazy = 3; +export const IndeterminateComponent = 4; // Before we know whether it is functional or class export const HostRoot = 5; // Root of a host tree. Could be nested inside another node. export const HostPortal = 6; // A subtree. Could be an entry point to a different renderer. export const HostComponent = 7;