Skip to content

Commit

Permalink
remove mutableReadLanes from fiber, revert ReactVersion build artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
noahlemen committed Jun 26, 2023
1 parent 7ce61f3 commit ab5ef42
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/react-reconciler/src/ReactFiberRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function FiberRootNode(
this.suspendedLanes = NoLanes;
this.pingedLanes = NoLanes;
this.expiredLanes = NoLanes;
this.mutableReadLanes = NoLanes;
this.finishedLanes = NoLanes;
this.errorRecoveryDisabledLanes = NoLanes;

Expand Down
1 change: 0 additions & 1 deletion packages/react-reconciler/src/ReactInternalTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ type BaseFiberRootProperties = {
suspendedLanes: Lanes,
pingedLanes: Lanes,
expiredLanes: Lanes,
mutableReadLanes: Lanes,
errorRecoveryDisabledLanes: Lanes,

finishedLanes: Lanes,
Expand Down
17 changes: 16 additions & 1 deletion packages/shared/ReactVersion.js
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
export default '18.3.0-PLACEHOLDER';
/**
* 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.
*/

// TODO: this is special because it gets imported during build.
//
// TODO: 18.0.0 has not been released to NPM;
// It exists as a placeholder so that DevTools can support work tag changes between releases.
// When we next publish a release, update the matching TODO in backend/renderer.js
// TODO: This module is used both by the release scripts and to expose a version
// at runtime. We should instead inject the version number as part of the build
// process, and use the ReactVersions.js module as the single source of truth.
export default '18.2.0';

0 comments on commit ab5ef42

Please sign in to comment.