-
Notifications
You must be signed in to change notification settings - Fork 47.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes ```` SyntaxError: ~/react/packages/react-reconciler/src/ReactFiberLane.js: Compiling let/const in this block would add a closure (throwIfClosureRequired). 614 | if (updateLane !== IdleLane) { 615 | if (enableUpdaterTracking) { > 616 | if (isDevToolsPresent) { | ^ 617 | // transfer pending updaters from pingedLanes to updateLane 618 | const pendingUpdatersLaneMap = root.pendingUpdatersLaneMap; 619 | const updaters = pendingUpdatersLaneMap[laneToIndex(updateLane)]; ```
- Loading branch information
Showing
2 changed files
with
31 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1 @@ | ||
/** | ||
* 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. | ||
// | ||
// 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 '19.0.0'; | ||
export default '19.0.0-rc-2abf6dc841-20240602'; |