@samitouri / QOS-React-2 / commits / 3746eaf985

Packages/React/src/ReactLazy ---> changing -1 to unintialized (#22421)

BIKI DAS committed Sep 24, 2021 at 23:22 UTC 3746eaf985dd92f8aa5f5658941d07b6b855e9d9
1 file changed +1 -1
packages/react/src/ReactLazy.js
+1 -1
@@ -123,7 +123,7 @@ export function lazy<T>(
123 ): LazyComponent<T, Payload<T>> {
124 const payload: Payload<T> = {
125 // We use these fields to store the result.
126 - _status: -1,
126 + _status: Uninitialized,
127 _result: ctor,
128 };
129