Skip to content

Commit

Permalink
Only build react-html in experimental channel (#30129)
Browse files Browse the repository at this point in the history
Even though the whole package is private right now. Once we publish it,
it'll likely be just the experimental channel first before upgrading to
stable.

This means it gets excluded from the built packages.

DiffTrain build for commit 58af67a.
  • Loading branch information
sebmarkbage committed Jun 28, 2024
1 parent 2387b49 commit 9187f28
Show file tree
Hide file tree
Showing 14 changed files with 136 additions and 202 deletions.
2 changes: 1 addition & 1 deletion compiled-rn/VERSION_NATIVE_FB
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.0.0-native-fb-1e241f9d6c-20240628
19.0.0-native-fb-58af67a8f8-20240628
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2af3711d9207e592f87fa05393f31919>>
* @generated SignedSource<<7755eee04e60a5a5be47a6764dd66aef>>
*/

"use strict";
__DEV__ &&
(function () {
function JSCompiler_object_inline_createNodeMock_1089() {
function JSCompiler_object_inline_createNodeMock_1106() {
return null;
}
function findHook(fiber, id) {
Expand Down Expand Up @@ -4650,50 +4650,38 @@ __DEV__ &&
hook.memoizedState = [prevState, deps];
return prevState;
}
function mountDeferredValue(value, initialValue) {
var hook = mountWorkInProgressHook();
return mountDeferredValueImpl(hook, value, initialValue);
function mountDeferredValue(value) {
mountWorkInProgressHook().memoizedState = value;
return value;
}
function updateDeferredValue(value, initialValue) {
function updateDeferredValue(value) {
var hook = updateWorkInProgressHook();
return updateDeferredValueImpl(
hook,
currentHook.memoizedState,
value,
initialValue
);
return updateDeferredValueImpl(hook, currentHook.memoizedState, value);
}
function rerenderDeferredValue(value, initialValue) {
function rerenderDeferredValue(value) {
var hook = updateWorkInProgressHook();
return null === currentHook
? mountDeferredValueImpl(hook, value, initialValue)
: updateDeferredValueImpl(
hook,
currentHook.memoizedState,
value,
initialValue
);
? ((hook.memoizedState = value), value)
: updateDeferredValueImpl(hook, currentHook.memoizedState, value);
}
function mountDeferredValueImpl(hook, value, initialValue) {
if (void 0 === initialValue || 0 !== (renderLanes & DeferredLane))
return (hook.memoizedState = value);
hook.memoizedState = initialValue;
hook = requestDeferredLane();
currentlyRenderingFiber$1.lanes |= hook;
workInProgressRootSkippedLanes |= hook;
return initialValue;
}
function updateDeferredValueImpl(hook, prevValue, value, initialValue) {
function updateDeferredValueImpl(hook, prevValue, value) {
if (objectIs(value, prevValue)) return value;
if (null !== currentTreeHiddenStackCursor.current)
return (
(hook = mountDeferredValueImpl(hook, value, initialValue)),
objectIs(hook, prevValue) || (didReceiveUpdate = !0),
hook
(hook.memoizedState = value),
objectIs(value, prevValue) || (didReceiveUpdate = !0),
value
);
if (0 === (renderLanes & (SyncLane | InputContinuousLane | DefaultLane)))
return (didReceiveUpdate = !0), (hook.memoizedState = value);
hook = requestDeferredLane();
0 === workInProgressDeferredLane &&
(workInProgressDeferredLane =
0 !== (workInProgressRootRenderLanes & OffscreenLane)
? OffscreenLane
: claimNextTransitionLane());
hook = suspenseHandlerStackCursor.current;
null !== hook && (hook.flags |= 32);
hook = workInProgressDeferredLane;
currentlyRenderingFiber$1.lanes |= hook;
workInProgressRootSkippedLanes |= hook;
return prevValue;
Expand Down Expand Up @@ -10597,16 +10585,6 @@ __DEV__ &&
: DefaultEventPriority;
return fiber;
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
(workInProgressDeferredLane =
0 !== (workInProgressRootRenderLanes & OffscreenLane)
? OffscreenLane
: claimNextTransitionLane());
var suspenseHandler = suspenseHandlerStackCursor.current;
null !== suspenseHandler && (suspenseHandler.flags |= 32);
return workInProgressDeferredLane;
}
function scheduleUpdateOnFiber(root, fiber, lane) {
isRunningInsertionEffect &&
error$jscomp$0("useInsertionEffect must not schedule updates.");
Expand Down Expand Up @@ -13705,10 +13683,10 @@ __DEV__ &&
currentHookNameInDev = "useDebugValue";
mountHookTypesDev();
},
useDeferredValue: function (value, initialValue) {
useDeferredValue: function (value) {
currentHookNameInDev = "useDeferredValue";
mountHookTypesDev();
return mountDeferredValue(value, initialValue);
return mountDeferredValue(value);
},
useTransition: function () {
currentHookNameInDev = "useTransition";
Expand Down Expand Up @@ -13829,10 +13807,10 @@ __DEV__ &&
currentHookNameInDev = "useDebugValue";
updateHookTypesDev();
},
useDeferredValue: function (value, initialValue) {
useDeferredValue: function (value) {
currentHookNameInDev = "useDeferredValue";
updateHookTypesDev();
return mountDeferredValue(value, initialValue);
return mountDeferredValue(value);
},
useTransition: function () {
currentHookNameInDev = "useTransition";
Expand Down Expand Up @@ -13959,10 +13937,10 @@ __DEV__ &&
currentHookNameInDev = "useDebugValue";
updateHookTypesDev();
},
useDeferredValue: function (value, initialValue) {
useDeferredValue: function (value) {
currentHookNameInDev = "useDeferredValue";
updateHookTypesDev();
return updateDeferredValue(value, initialValue);
return updateDeferredValue(value);
},
useTransition: function () {
currentHookNameInDev = "useTransition";
Expand Down Expand Up @@ -14084,10 +14062,10 @@ __DEV__ &&
currentHookNameInDev = "useDebugValue";
updateHookTypesDev();
},
useDeferredValue: function (value, initialValue) {
useDeferredValue: function (value) {
currentHookNameInDev = "useDeferredValue";
updateHookTypesDev();
return rerenderDeferredValue(value, initialValue);
return rerenderDeferredValue(value);
},
useTransition: function () {
currentHookNameInDev = "useTransition";
Expand Down Expand Up @@ -14224,11 +14202,11 @@ __DEV__ &&
warnInvalidHookAccess();
mountHookTypesDev();
},
useDeferredValue: function (value, initialValue) {
useDeferredValue: function (value) {
currentHookNameInDev = "useDeferredValue";
warnInvalidHookAccess();
mountHookTypesDev();
return mountDeferredValue(value, initialValue);
return mountDeferredValue(value);
},
useTransition: function () {
currentHookNameInDev = "useTransition";
Expand Down Expand Up @@ -14378,11 +14356,11 @@ __DEV__ &&
warnInvalidHookAccess();
updateHookTypesDev();
},
useDeferredValue: function (value, initialValue) {
useDeferredValue: function (value) {
currentHookNameInDev = "useDeferredValue";
warnInvalidHookAccess();
updateHookTypesDev();
return updateDeferredValue(value, initialValue);
return updateDeferredValue(value);
},
useTransition: function () {
currentHookNameInDev = "useTransition";
Expand Down Expand Up @@ -14529,11 +14507,11 @@ __DEV__ &&
warnInvalidHookAccess();
updateHookTypesDev();
},
useDeferredValue: function (value, initialValue) {
useDeferredValue: function (value) {
currentHookNameInDev = "useDeferredValue";
warnInvalidHookAccess();
updateHookTypesDev();
return rerenderDeferredValue(value, initialValue);
return rerenderDeferredValue(value);
},
useTransition: function () {
currentHookNameInDev = "useTransition";
Expand Down Expand Up @@ -15094,20 +15072,20 @@ __DEV__ &&
scheduleRoot: scheduleRoot,
setRefreshHandler: setRefreshHandler,
getCurrentFiber: getCurrentFiberForDevTools,
reconcilerVersion: "19.0.0-native-fb-1e241f9d6c-20240628"
reconcilerVersion: "19.0.0-native-fb-58af67a8f8-20240628"
});
})({
findFiberByHostInstance: function () {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 1,
version: "19.0.0-native-fb-1e241f9d6c-20240628",
version: "19.0.0-native-fb-58af67a8f8-20240628",
rendererPackageName: "react-test-renderer"
});
exports._Scheduler = Scheduler;
exports.act = act;
exports.create = function (element, options) {
var createNodeMock = JSCompiler_object_inline_createNodeMock_1089,
var createNodeMock = JSCompiler_object_inline_createNodeMock_1106,
isConcurrent = !1,
isStrictMode = !1,
concurrentUpdatesByDefault = null;
Expand Down
Loading

0 comments on commit 9187f28

Please sign in to comment.