mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Add FB build for ReactReconcilerConstants (#29003)
In order to integrate the `react-reconciler` build created in #28880
with third party libraries, we need to have matching
`react-reconciler/constants` to go with it.
DiffTrain build for [5d29478716](https://github.com/facebook/react/commit/5d29478716cefbf8290dfdd19129156c2ac75973)
This commit is contained in:
@@ -1 +1 @@
|
||||
0a0a3af75a740d0920ebf7f4affaf8d1ce8c107f
|
||||
5d29478716cefbf8290dfdd19129156c2ac75973
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @preserve-invariant-messages
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
if (__DEV__) {
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
// This refers to a WWW module.
|
||||
require('warning');
|
||||
|
||||
// Re-export dynamic flags from the www version.
|
||||
require('ReactFeatureFlags');
|
||||
|
||||
var NoLane =
|
||||
/* */
|
||||
0;
|
||||
var SyncLane =
|
||||
/* */
|
||||
2;
|
||||
var InputContinuousLane =
|
||||
/* */
|
||||
8;
|
||||
var DefaultLane =
|
||||
/* */
|
||||
32;
|
||||
var IdleLane =
|
||||
/* */
|
||||
268435456;
|
||||
|
||||
var NoEventPriority = NoLane;
|
||||
var DiscreteEventPriority = SyncLane;
|
||||
var ContinuousEventPriority = InputContinuousLane;
|
||||
var DefaultEventPriority = DefaultLane;
|
||||
var IdleEventPriority = IdleLane;
|
||||
|
||||
var LegacyRoot = 0;
|
||||
var ConcurrentRoot = 1;
|
||||
|
||||
exports.ConcurrentRoot = ConcurrentRoot;
|
||||
exports.ContinuousEventPriority = ContinuousEventPriority;
|
||||
exports.DefaultEventPriority = DefaultEventPriority;
|
||||
exports.DiscreteEventPriority = DiscreteEventPriority;
|
||||
exports.IdleEventPriority = IdleEventPriority;
|
||||
exports.LegacyRoot = LegacyRoot;
|
||||
exports.NoEventPriority = NoEventPriority;
|
||||
})();
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @preserve-invariant-messages
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
if (__DEV__) {
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
// This refers to a WWW module.
|
||||
require('warning');
|
||||
|
||||
// Re-export dynamic flags from the www version.
|
||||
require('ReactFeatureFlags');
|
||||
|
||||
var NoLane =
|
||||
/* */
|
||||
0;
|
||||
var SyncLane =
|
||||
/* */
|
||||
2;
|
||||
var InputContinuousLane =
|
||||
/* */
|
||||
8;
|
||||
var DefaultLane =
|
||||
/* */
|
||||
32;
|
||||
var IdleLane =
|
||||
/* */
|
||||
268435456;
|
||||
|
||||
var NoEventPriority = NoLane;
|
||||
var DiscreteEventPriority = SyncLane;
|
||||
var ContinuousEventPriority = InputContinuousLane;
|
||||
var DefaultEventPriority = DefaultLane;
|
||||
var IdleEventPriority = IdleLane;
|
||||
|
||||
var LegacyRoot = 0;
|
||||
var ConcurrentRoot = 1;
|
||||
|
||||
exports.ConcurrentRoot = ConcurrentRoot;
|
||||
exports.ContinuousEventPriority = ContinuousEventPriority;
|
||||
exports.DefaultEventPriority = DefaultEventPriority;
|
||||
exports.DiscreteEventPriority = DiscreteEventPriority;
|
||||
exports.IdleEventPriority = IdleEventPriority;
|
||||
exports.LegacyRoot = LegacyRoot;
|
||||
exports.NoEventPriority = NoEventPriority;
|
||||
})();
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @preserve-invariant-messages
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
require("ReactFeatureFlags");
|
||||
exports.ConcurrentRoot = 1;
|
||||
exports.ContinuousEventPriority = 8;
|
||||
exports.DefaultEventPriority = 32;
|
||||
exports.DiscreteEventPriority = 2;
|
||||
exports.IdleEventPriority = 268435456;
|
||||
exports.LegacyRoot = 0;
|
||||
exports.NoEventPriority = 0;
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @preserve-invariant-messages
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
require("ReactFeatureFlags");
|
||||
exports.ConcurrentRoot = 1;
|
||||
exports.ContinuousEventPriority = 8;
|
||||
exports.DefaultEventPriority = 32;
|
||||
exports.DiscreteEventPriority = 2;
|
||||
exports.IdleEventPriority = 268435456;
|
||||
exports.LegacyRoot = 0;
|
||||
exports.NoEventPriority = 0;
|
||||
Reference in New Issue
Block a user