From 46f87488761b0e1a3bbaabe8b85e96720eb5caf5 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Tue, 24 Sep 2024 16:26:47 +0000 Subject: [PATCH 1/6] Update `react@experimental` --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d680f5ad29c08..b7470488f2491 100644 --- a/package.json +++ b/package.json @@ -214,13 +214,13 @@ "react-dom": "19.0.0-rc-5d19e1c8-20240923", "react-dom-17": "npm:react-dom@17.0.2", "react-dom-builtin": "npm:react-dom@19.0.0-rc-5d19e1c8-20240923", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-5d19e1c8-20240923", - "react-experimental-builtin": "npm:react@0.0.0-experimental-5d19e1c8-20240923", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-04bd67a4-20240924", + "react-experimental-builtin": "npm:react@0.0.0-experimental-04bd67a4-20240924", "react-is-builtin": "npm:react-is@19.0.0-rc-5d19e1c8-20240923", "react-server-dom-turbopack": "19.0.0-rc-5d19e1c8-20240923", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-04bd67a4-20240924", "react-server-dom-webpack": "19.0.0-rc-5d19e1c8-20240923", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-04bd67a4-20240924", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -231,7 +231,7 @@ "sass": "1.54.0", "satori": "0.10.9", "scheduler-builtin": "npm:scheduler@0.25.0-rc-5d19e1c8-20240923", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-5d19e1c8-20240923", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-04bd67a4-20240924", "seedrandom": "3.0.5", "semver": "7.3.7", "shell-quote": "1.7.3", From 97282d3f1cb49b34d32a3868732e1b98f2ffb1c4 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Tue, 24 Sep 2024 16:26:47 +0000 Subject: [PATCH 2/6] Update `react@rc` --- package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index b7470488f2491..37b78dd54edbd 100644 --- a/package.json +++ b/package.json @@ -208,18 +208,18 @@ "pretty-bytes": "5.3.0", "pretty-ms": "7.0.0", "random-seed": "0.3.0", - "react": "19.0.0-rc-5d19e1c8-20240923", + "react": "19.0.0-rc-04bd67a4-20240924", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923", + "react-builtin": "npm:react@19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@19.0.0-rc-5d19e1c8-20240923", + "react-dom-builtin": "npm:react-dom@19.0.0-rc-04bd67a4-20240924", "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-04bd67a4-20240924", "react-experimental-builtin": "npm:react@0.0.0-experimental-04bd67a4-20240924", - "react-is-builtin": "npm:react-is@19.0.0-rc-5d19e1c8-20240923", - "react-server-dom-turbopack": "19.0.0-rc-5d19e1c8-20240923", + "react-is-builtin": "npm:react-is@19.0.0-rc-04bd67a4-20240924", + "react-server-dom-turbopack": "19.0.0-rc-04bd67a4-20240924", "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-04bd67a4-20240924", - "react-server-dom-webpack": "19.0.0-rc-5d19e1c8-20240923", + "react-server-dom-webpack": "19.0.0-rc-04bd67a4-20240924", "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-04bd67a4-20240924", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", @@ -230,7 +230,7 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.9", - "scheduler-builtin": "npm:scheduler@0.25.0-rc-5d19e1c8-20240923", + "scheduler-builtin": "npm:scheduler@0.25.0-rc-04bd67a4-20240924", "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-04bd67a4-20240924", "seedrandom": "3.0.5", "semver": "7.3.7", @@ -271,10 +271,10 @@ "@babel/traverse": "7.22.5", "@types/react": "npm:types-react@19.0.0-rc.0", "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", - "react": "19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923", - "react-is": "19.0.0-rc-5d19e1c8-20240923", - "scheduler": "0.25.0-rc-5d19e1c8-20240923" + "react": "19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924", + "react-is": "19.0.0-rc-04bd67a4-20240924", + "scheduler": "0.25.0-rc-04bd67a4-20240924" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch" From 2c040d10c9e66b8d4542b1ef917329e08fd5acca Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Tue, 24 Sep 2024 16:26:47 +0000 Subject: [PATCH 3/6] Updated peer dependency references --- examples/reproduction-template/package.json | 4 ++-- packages/create-next-app/templates/index.ts | 2 +- packages/next/package.json | 4 ++-- run-tests.js | 2 +- test/.stats-app/package.json | 4 ++-- test/e2e/next-test/first-time-setup-js/package.json | 4 ++-- test/e2e/next-test/first-time-setup-ts/package.json | 4 ++-- test/lib/next-modes/base.ts | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/reproduction-template/package.json b/examples/reproduction-template/package.json index dda04e8c51342..be3ac7d8fbc18 100644 --- a/examples/reproduction-template/package.json +++ b/examples/reproduction-template/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923" + "react": "19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924" }, "devDependencies": { "@types/node": "20.12.12", diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index 6e91c597690bb..36a3e4e99e909 100644 --- a/packages/create-next-app/templates/index.ts +++ b/packages/create-next-app/templates/index.ts @@ -13,7 +13,7 @@ import { GetTemplateFileArgs, InstallTemplateArgs } from "./types"; // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-5d19e1c8-20240923"; +const nextjsReactPeerVersion = "19.0.0-rc-04bd67a4-20240924"; /** * Get the file path for a given file in a template, e.g. "next.config.js". diff --git a/packages/next/package.json b/packages/next/package.json index d2869bf73d2fb..407b15c74cf3d 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -107,8 +107,8 @@ "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", - "react": "^18.2.0 || 19.0.0-rc-5d19e1c8-20240923", - "react-dom": "^18.2.0 || 19.0.0-rc-5d19e1c8-20240923", + "react": "^18.2.0 || 19.0.0-rc-04bd67a4-20240924", + "react-dom": "^18.2.0 || 19.0.0-rc-04bd67a4-20240924", "sass": "^1.3.0" }, "peerDependenciesMeta": { diff --git a/run-tests.js b/run-tests.js index 8a0e6cebb18ec..f33a41f8cf675 100644 --- a/run-tests.js +++ b/run-tests.js @@ -20,7 +20,7 @@ const { getTestFilter } = require('./test/get-test-filter') // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-5d19e1c8-20240923"; +const nextjsReactPeerVersion = "19.0.0-rc-04bd67a4-20240924"; let argv = require('yargs/yargs')(process.argv.slice(2)) .string('type') diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index f3cbdc2a012f0..08ae4cbf1c264 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -4,8 +4,8 @@ "license": "MIT", "dependencies": { "next": "latest", - "react": "19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923" + "react": "19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924" }, "engines": { "node": ">=18.18.0" diff --git a/test/e2e/next-test/first-time-setup-js/package.json b/test/e2e/next-test/first-time-setup-js/package.json index 25ab27fa9618d..7cc49757a52e8 100644 --- a/test/e2e/next-test/first-time-setup-js/package.json +++ b/test/e2e/next-test/first-time-setup-js/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923" + "react": "19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924" } } diff --git a/test/e2e/next-test/first-time-setup-ts/package.json b/test/e2e/next-test/first-time-setup-ts/package.json index 216b01d931d3f..889af16387067 100644 --- a/test/e2e/next-test/first-time-setup-ts/package.json +++ b/test/e2e/next-test/first-time-setup-ts/package.json @@ -8,8 +8,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923" + "react": "19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924" }, "devDependencies": { "@types/react": "^18", diff --git a/test/lib/next-modes/base.ts b/test/lib/next-modes/base.ts index 3097edea97ef6..a7e138e1f21f5 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -51,7 +51,7 @@ type OmitFirstArgument = F extends ( // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-5d19e1c8-20240923"; +const nextjsReactPeerVersion = "19.0.0-rc-04bd67a4-20240924"; export class NextInstance { protected files: FileRef | { [filename: string]: string | FileRef } From 93e34c4668ef6949fd892a407a450dac04f345c8 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Tue, 24 Sep 2024 16:26:58 +0000 Subject: [PATCH 4/6] Update lockfile --- pnpm-lock.yaml | 376 ++++++++++++++++++++++++------------------------- 1 file changed, 188 insertions(+), 188 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abeda9c6ad26a..d7202682d7137 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,10 +15,10 @@ overrides: '@babel/traverse': 7.22.5 '@types/react': npm:types-react@19.0.0-rc.0 '@types/react-dom': npm:types-react-dom@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 - react-is: 19.0.0-rc-5d19e1c8-20240923 - scheduler: 0.25.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 + react-is: 19.0.0-rc-04bd67a4-20240924 + scheduler: 0.25.0-rc-04bd67a4-20240924 patchedDependencies: webpack-sources@3.2.3: @@ -64,7 +64,7 @@ importers: version: 11.11.0 '@emotion/react': specifier: 11.11.1 - version: 11.11.1(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0) + version: 11.11.1(react@19.0.0-rc-04bd67a4-20240924)(types-react@19.0.0-rc.0) '@fullhuman/postcss-purgecss': specifier: 1.3.0 version: 1.3.0 @@ -73,7 +73,7 @@ importers: version: 2.2.1(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) '@mdx-js/react': specifier: 2.2.1 - version: 2.2.1(react@19.0.0-rc-5d19e1c8-20240923) + version: 2.2.1(react@19.0.0-rc-04bd67a4-20240924) '@next/bundle-analyzer': specifier: workspace:* version: link:packages/next-bundle-analyzer @@ -142,7 +142,7 @@ importers: version: 6.1.2(@jest/globals@29.7.0)(@types/jest@29.5.5)(jest@29.7.0(@types/node@20.12.3)(babel-plugin-macros@3.1.0)) '@testing-library/react': specifier: ^15.0.5 - version: 15.0.7(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0) + version: 15.0.7(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924)(types-react@19.0.0-rc.0) '@types/busboy': specifier: 1.5.3 version: 1.5.3 @@ -453,50 +453,50 @@ importers: specifier: 0.3.0 version: 0.3.0 react: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923 + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924 react-17: specifier: npm:react@17.0.2 version: react@17.0.2 react-builtin: - specifier: npm:react@19.0.0-rc-5d19e1c8-20240923 - version: react@19.0.0-rc-5d19e1c8-20240923 + specifier: npm:react@19.0.0-rc-04bd67a4-20240924 + version: react@19.0.0-rc-04bd67a4-20240924 react-dom: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) react-dom-17: specifier: npm:react-dom@17.0.2 - version: react-dom@17.0.2(react@19.0.0-rc-5d19e1c8-20240923) + version: react-dom@17.0.2(react@19.0.0-rc-04bd67a4-20240924) react-dom-builtin: - specifier: npm:react-dom@19.0.0-rc-5d19e1c8-20240923 - version: react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + specifier: npm:react-dom@19.0.0-rc-04bd67a4-20240924 + version: react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) react-dom-experimental-builtin: - specifier: npm:react-dom@0.0.0-experimental-5d19e1c8-20240923 - version: react-dom@0.0.0-experimental-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + specifier: npm:react-dom@0.0.0-experimental-04bd67a4-20240924 + version: react-dom@0.0.0-experimental-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) react-experimental-builtin: - specifier: npm:react@0.0.0-experimental-5d19e1c8-20240923 - version: react@0.0.0-experimental-5d19e1c8-20240923 + specifier: npm:react@0.0.0-experimental-04bd67a4-20240924 + version: react@0.0.0-experimental-04bd67a4-20240924 react-is-builtin: - specifier: npm:react-is@19.0.0-rc-5d19e1c8-20240923 - version: react-is@19.0.0-rc-5d19e1c8-20240923 + specifier: npm:react-is@19.0.0-rc-04bd67a4-20240924 + version: react-is@19.0.0-rc-04bd67a4-20240924 react-server-dom-turbopack: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924) react-server-dom-turbopack-experimental: - specifier: npm:react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923 - version: react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) + specifier: npm:react-server-dom-turbopack@0.0.0-experimental-04bd67a4-20240924 + version: react-server-dom-turbopack@0.0.0-experimental-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924) react-server-dom-webpack: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) react-server-dom-webpack-experimental: - specifier: npm:react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923 - version: react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) + specifier: npm:react-server-dom-webpack@0.0.0-experimental-04bd67a4-20240924 + version: react-server-dom-webpack@0.0.0-experimental-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) react-ssr-prepass: specifier: 1.0.8 - version: 1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-5d19e1c8-20240923) + version: 1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-04bd67a4-20240924) react-virtualized: specifier: 9.22.3 - version: 9.22.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) + version: 9.22.3(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924) relay-compiler: specifier: 13.0.2 version: 13.0.2 @@ -519,11 +519,11 @@ importers: specifier: 0.10.9 version: 0.10.9 scheduler-builtin: - specifier: npm:scheduler@0.25.0-rc-5d19e1c8-20240923 - version: scheduler@0.25.0-rc-5d19e1c8-20240923 + specifier: npm:scheduler@0.25.0-rc-04bd67a4-20240924 + version: scheduler@0.25.0-rc-04bd67a4-20240924 scheduler-experimental-builtin: - specifier: npm:scheduler@0.0.0-experimental-5d19e1c8-20240923 - version: scheduler@0.0.0-experimental-5d19e1c8-20240923 + specifier: npm:scheduler@0.0.0-experimental-04bd67a4-20240924 + version: scheduler@0.0.0-experimental-04bd67a4-20240924 seedrandom: specifier: 3.0.5 version: 3.0.5 @@ -538,16 +538,16 @@ importers: version: 6.0.0 styled-components: specifier: 6.0.0-rc.3 - version: 6.0.0-rc.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) + version: 6.0.0-rc.3(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924) styled-jsx: specifier: 5.1.6 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-04bd67a4-20240924) styled-jsx-plugin-postcss: specifier: 3.0.2 version: 3.0.2 swr: specifier: ^2.2.4 - version: 2.2.4(react@19.0.0-rc-5d19e1c8-20240923) + version: 2.2.4(react@19.0.0-rc-04bd67a4-20240924) tailwindcss: specifier: 3.2.7 version: 3.2.7(postcss@8.4.31) @@ -871,17 +871,17 @@ importers: specifier: 8.4.31 version: 8.4.31 react: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923 + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924 react-dom: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) sass: specifier: ^1.3.0 version: 1.77.8 styled-jsx: specifier: 5.1.6 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-04bd67a4-20240924) optionalDependencies: sharp: specifier: ^0.33.5 @@ -1462,7 +1462,7 @@ importers: version: 1.0.35 unistore: specifier: 3.4.1 - version: 3.4.1(react@19.0.0-rc-5d19e1c8-20240923) + version: 3.4.1(react@19.0.0-rc-04bd67a4-20240924) util: specifier: 0.12.4 version: 0.12.4 @@ -1602,8 +1602,8 @@ importers: packages/third-parties: dependencies: react: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923 + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924 third-party-capital: specifier: 1.0.20 version: 1.0.20 @@ -1663,14 +1663,14 @@ importers: specifier: 29.5.0 version: 29.5.0 react: - specifier: 19.0.0-rc-5d19e1c8-20240923 - version: 19.0.0-rc-5d19e1c8-20240923 + specifier: 19.0.0-rc-04bd67a4-20240924 + version: 19.0.0-rc-04bd67a4-20240924 react-test-renderer: specifier: 18.2.0 - version: 18.2.0(react@19.0.0-rc-5d19e1c8-20240923) + version: 18.2.0(react@19.0.0-rc-04bd67a4-20240924) styled-jsx: specifier: ^5.1.2 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-04bd67a4-20240924) turbopack/packages/devlow-bench: dependencies: @@ -3314,7 +3314,7 @@ packages: resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -3331,7 +3331,7 @@ packages: '@emotion/use-insertion-effect-with-fallbacks@1.0.1': resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 '@emotion/utils@1.2.1': resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} @@ -3524,14 +3524,14 @@ packages: '@floating-ui/react-dom@2.1.0': resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 '@floating-ui/react@0.26.16': resolution: {integrity: sha512-HEf43zxZNAI/E781QIVpYSF3K2VH4TTYZpqecjdsFkjsaU1EbaWcM++kw0HXFffj7gDUcBFevX8s0rQGQpxkow==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 '@floating-ui/utils@0.2.2': resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} @@ -4171,13 +4171,13 @@ packages: resolution: {integrity: sha512-l9ypojKN3PjwO1CSLIsqxi7mA25+7w+xc71Q+JuCCREI0tuGwkZsKbIOpuTATIJOjPh8ycLiW7QxX1LYsRTq6w==} peerDependencies: '@mantine/hooks': 7.10.1 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 '@mantine/hooks@7.11.2': resolution: {integrity: sha512-jhyVe/sbDEG2U8rr2lMecUPgQxcfr5hh9HazqGfkS7ZRIMDO7uJ947yAcTMGGkp5Lxtt5TBFt1Cb6tiB2/1agg==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 '@mapbox/node-pre-gyp@1.0.5': resolution: {integrity: sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==} @@ -4194,7 +4194,7 @@ packages: '@mdx-js/react@2.2.1': resolution: {integrity: sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 '@mswjs/cookies@1.1.0': resolution: {integrity: sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw==} @@ -4877,8 +4877,8 @@ packages: engines: {node: '>=18'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -10350,7 +10350,7 @@ packages: lucide-react@0.383.0: resolution: {integrity: sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} @@ -12565,28 +12565,28 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - react-dom@0.0.0-experimental-5d19e1c8-20240923: - resolution: {integrity: sha512-0k45pTmdiI0loGpwbu0V9Wd1wle3iZt9T9yC3Dd6m2xbBxHxl5L8ypIbbQwPPcsVfQLvx7DhRPGs95DAi2ZayA==} + react-dom@0.0.0-experimental-04bd67a4-20240924: + resolution: {integrity: sha512-iw3QquNn/f/92/Zvn4Fg/nYzUnifV4pXwyKHH134lOegja3kiS9llZcPu8PmEhrcncdSTiYw61jI2h8QWUSzDg==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 react-dom@17.0.2: resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 - react-dom@19.0.0-rc-5d19e1c8-20240923: - resolution: {integrity: sha512-1O1KWGV/Lmlr1d1RePwiqZOuq2/EZLPpD/9fwlgJer4KKYTr6KlIEPEjC6u1iMQEUvs/r+maxdKSgeHjsNWFfg==} + react-dom@19.0.0-rc-04bd67a4-20240924: + resolution: {integrity: sha512-9MbUcK/HGBwzdDsbgHO6TtSMBO4/lUPyxVhTuKz2shznd4t7T17ObtM7m39JhPaz0uCdlOeErWkzzCKNxt57/g==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 react-dom@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-oUa/reDvGtjRcxi8u+GYHaDHanudaO28+G+Wvxm50CItW1xwIFN2Nn7foJxxDS9lFLGdRWZvjxldZEPAUSuXbg==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 - react-is@19.0.0-rc-5d19e1c8-20240923: - resolution: {integrity: sha512-vX1YsII4H0lgVOgeRvslngSKI86O0Q/VTFanouP34zBqKv5aTnjrBjkSS1bWuyiLPaB6cV+ixBFplAljiHAcOg==} + react-is@19.0.0-rc-04bd67a4-20240924: + resolution: {integrity: sha512-7JLGcawJdhmj6K00Y7jRBVwqPMPq9XnGEQV+E3Zp0vTYq01R9d1t4fkyF3wjXdAwKqKkgbd639lAsD7rC81cmA==} react-is@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-1tXoLFzVbqHAQeY3CwpyF5IYbkwgSoNHhrhS8qOrfiZIh2461h/C1BP/JVIxwyL51wHhUgLsAc/M8g0OcEhV1A==} @@ -12597,8 +12597,8 @@ packages: react-number-format@5.4.0: resolution: {integrity: sha512-NWdICrqLhI7rAS8yUeLVd6Wr4cN7UjJ9IBTS0f/a9i7UB4x4Ti70kGnksBtZ7o4Z7YRbvCMMR/jQmkoOBa/4fg==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 react-refresh@0.12.0: resolution: {integrity: sha512-suLIhrU2IHKL5JEKR/fAwJv7bbeq4kJ+pJopf77jHwuR+HmJS/HbrPIGsTBUVfw7tXPOmYv7UJ7PCaN49e8x4A==} @@ -12609,7 +12609,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -12619,58 +12619,58 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true - react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923: - resolution: {integrity: sha512-IyqOOby4ZHRg2VCJ/wG4wN/+YLhNsjhBd0GrgoroXGYnPPFRmULKZ57wSukBpHdUlAOis6gq014yfEKZoZUoSQ==} + react-server-dom-turbopack@0.0.0-experimental-04bd67a4-20240924: + resolution: {integrity: sha512-X88tBDzBNSeLESBHB7fhotAIg75Xste0NDFzxJF3tJMbZRwgeQ982TrqXeffGs+HI4gUQqfP3vb9dyiZ5TAQ7Q==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 - react-server-dom-turbopack@19.0.0-rc-5d19e1c8-20240923: - resolution: {integrity: sha512-ueaVIxCVj3RwtOW8I33WfrxHnnuMCaoiinvVBUNKAVBjgm0W4rpb8yPAJR0O6fmY8PG4kBZ+xmD2KQcY+BGSLQ==} + react-server-dom-turbopack@19.0.0-rc-04bd67a4-20240924: + resolution: {integrity: sha512-V+1odp6MRwyv9CG3zQw3IJKEDPJF8lctupQ3xnxj7h2wHLOA1VmMLzct983hDentK0clck+T73QMMkKiskiURg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 - react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923: - resolution: {integrity: sha512-O5qvoJjPChSnTc56wHvQyPldiAU/MgvOvzUbvUp53PjghokIUx7axJg4pX4/zOY7lbSHbfINQp/EKDNO4jZvyg==} + react-server-dom-webpack@0.0.0-experimental-04bd67a4-20240924: + resolution: {integrity: sha512-vpeTa+uLXZNRW56U30dbN96EN/4cnD/ClwzpupxG/jd5/xENTDVZOq/rrvczAt4a3XnaCl1cDQh443s+YiO1tQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 webpack: 5.90.0 - react-server-dom-webpack@19.0.0-rc-5d19e1c8-20240923: - resolution: {integrity: sha512-hGkbo+YFRNoqw9d/xV3FTHmI2rljBDEsr6z3mI1sH8q4DrUI3gkfPt3lxgy2PwXQtXkEit3Ko72o91gcdIntAg==} + react-server-dom-webpack@19.0.0-rc-04bd67a4-20240924: + resolution: {integrity: sha512-FSzNVNGMvXIv0xeOZGZsJL8fa4wfcjmHQ8XAeB7mxo1Ytnpqp0WR8B/gVvgy+fA6ZYJxE10JzVW6f+cjk9QLuQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 webpack: 5.90.0 react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 react-ssr-prepass@1.0.8: resolution: {integrity: sha512-O0gfRA1SaK+9ITKxqfnXsej2jF+OHGP/+GxD4unROQaM/0/UczGF9fuF+wTboxaQoKdIf4FvS3h/OigWh704VA==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-is: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-is: 19.0.0-rc-04bd67a4-20240924 react-style-singleton@2.2.1: resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -12678,30 +12678,30 @@ packages: react-test-renderer@18.2.0: resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 react-textarea-autosize@8.5.3: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 react-virtualized@9.22.3: resolution: {integrity: sha512-MKovKMxWTcwPSxE1kK1HcheQTWfuCxAuBoSTf2gwyMM21NdX/PXUhnoP8Uc5dRKd+nKm8v41R36OellhdCpkrw==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 - react@0.0.0-experimental-5d19e1c8-20240923: - resolution: {integrity: sha512-Gj4QEoaMrdPspWXPXnExlgYEkBFuui6xYW81tswLnguthYhVzR8L8PZ8cppTQqQsklNPoWKWcWNh7YBaLTLoUg==} + react@0.0.0-experimental-04bd67a4-20240924: + resolution: {integrity: sha512-SPXyd4VTFykU3KZrzjDvyzTzKwNgCZmXTTu7ngIGW0rDa2Hx9POjIk/g7lxVrqTQKHeaxoYESOmuOK4WKVEung==} engines: {node: '>=0.10.0'} react@17.0.2: resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} engines: {node: '>=0.10.0'} - react@19.0.0-rc-5d19e1c8-20240923: - resolution: {integrity: sha512-ZmgGzqPoYKevfJa+BThu1qkvDFFAVYQIbG9oPvAbNk1/4A+wJqplwDT1rhbRZmxV8n67oawoZkf5xAup99cyUA==} + react@19.0.0-rc-04bd67a4-20240924: + resolution: {integrity: sha512-oldOS+RU4b0cXzOxK0TuJXVhcMMtsjEFew0GQFsRTcYH1vwlWnwcAEBwRRWczZfhykpA1VFcCzS6+sZ3qdnBzw==} engines: {node: '>=0.10.0'} react@19.0.0-rc-f90a6bcc-20240827: @@ -13226,11 +13226,11 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.0.0-experimental-5d19e1c8-20240923: - resolution: {integrity: sha512-U4lYFxZO7Xm9vrcKhVs/tIV1ea8qQyDAwGOYBRY6y5Ki6NJu012riisAQS7WRb/fsENb0hwjbfgjvpxPNMEELQ==} + scheduler@0.0.0-experimental-04bd67a4-20240924: + resolution: {integrity: sha512-1dIN1DRT2wZkJvd3JxPbop9OlcpbDjIsXTr3bt+oK0JDGOKBLkr+IAWIhppdUL1Dub/sCzrr8wucFPyzln1Aow==} - scheduler@0.25.0-rc-5d19e1c8-20240923: - resolution: {integrity: sha512-lyXuqeq6jwl7PPmOBJcqrfbm5qczKdgDTdIc0JYq6nJq0CATvNBSP95s+8TqPwcesmE3t+0jh9W1w6WOAtR7Aw==} + scheduler@0.25.0-rc-04bd67a4-20240924: + resolution: {integrity: sha512-gAD5Ob6qimTeOixl9Icmzrgs6572HsxD3AoK/b6VAMKgoDhIa/NXSD8Po1f4SFNysAXVBDCpT1CSvFwy8MtpRQ==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -13795,8 +13795,8 @@ packages: engines: {node: '>= 16'} peerDependencies: babel-plugin-styled-components: '>= 2' - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: babel-plugin-styled-components: optional: true @@ -13810,7 +13810,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@babel/core': optional: true @@ -13887,7 +13887,7 @@ packages: swr@2.2.4: resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 symbol-observable@1.0.1: resolution: {integrity: sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==} @@ -14628,7 +14628,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -14636,13 +14636,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -14651,7 +14651,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -14661,7 +14661,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 peerDependenciesMeta: '@types/react': optional: true @@ -14669,7 +14669,7 @@ packages: use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -17194,17 +17194,17 @@ snapshots: '@emotion/memoize@0.8.1': {} - '@emotion/react@11.11.1(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0)': + '@emotion/react@11.11.1(react@19.0.0-rc-04bd67a4-20240924)(types-react@19.0.0-rc.0)': dependencies: '@babel/runtime': 7.22.5 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-5d19e1c8-20240923) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-04bd67a4-20240924) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 transitivePeerDependencies: @@ -17222,9 +17222,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-5d19e1c8-20240923)': + '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-04bd67a4-20240924)': dependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 '@emotion/utils@1.2.1': {} @@ -18584,11 +18584,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@mdx-js/react@2.2.1(react@19.0.0-rc-5d19e1c8-20240923)': + '@mdx-js/react@2.2.1(react@19.0.0-rc-04bd67a4-20240924)': dependencies: '@types/mdx': 2.0.3 '@types/react': types-react@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 '@mdx-js/react@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: @@ -19409,13 +19409,13 @@ snapshots: '@types/jest': 29.5.5 jest: 29.7.0(@types/node@20.12.3)(babel-plugin-macros@3.1.0) - '@testing-library/react@15.0.7(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0)': + '@testing-library/react@15.0.7(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924)(types-react@19.0.0-rc.0)': dependencies: '@babel/runtime': 7.22.5 '@testing-library/dom': 10.1.0 '@types/react-dom': types-react-dom@19.0.0-rc.0 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) optionalDependencies: '@types/react': types-react@19.0.0-rc.0 @@ -24360,7 +24360,7 @@ snapshots: hoist-non-react-statics@3.3.2: dependencies: - react-is: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-04bd67a4-20240924 homedir-polyfill@1.0.3: dependencies: @@ -28716,25 +28716,25 @@ snapshots: '@jest/types': 24.9.0 ansi-regex: 4.1.0 ansi-styles: 3.2.1 - react-is: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-04bd67a4-20240924 pretty-format@27.5.1: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-04bd67a4-20240924 pretty-format@29.5.0: dependencies: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-04bd67a4-20240924 pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-04bd67a4-20240924 pretty-ms@7.0.0: dependencies: @@ -28791,7 +28791,7 @@ snapshots: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react-is: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-04bd67a4-20240924 property-information@5.6.0: dependencies: @@ -28965,29 +28965,29 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-dom@0.0.0-experimental-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923): + react-dom@0.0.0-experimental-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924): dependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - scheduler: 0.25.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + scheduler: 0.25.0-rc-04bd67a4-20240924 - react-dom@17.0.2(react@19.0.0-rc-5d19e1c8-20240923): + react-dom@17.0.2(react@19.0.0-rc-04bd67a4-20240924): dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react: 19.0.0-rc-5d19e1c8-20240923 - scheduler: 0.25.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + scheduler: 0.25.0-rc-04bd67a4-20240924 - react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923): + react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924): dependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - scheduler: 0.25.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + scheduler: 0.25.0-rc-04bd67a4-20240924 react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827): dependencies: react: 19.0.0-rc-f90a6bcc-20240827 - scheduler: 0.25.0-rc-5d19e1c8-20240923 + scheduler: 0.25.0-rc-04bd67a4-20240924 - react-is@19.0.0-rc-5d19e1c8-20240923: {} + react-is@19.0.0-rc-04bd67a4-20240924: {} react-is@19.0.0-rc-f90a6bcc-20240827: {} @@ -29020,48 +29020,48 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): + react-server-dom-turbopack@0.0.0-experimental-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) - react-server-dom-turbopack@19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): + react-server-dom-turbopack@19.0.0-rc-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) - react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): + react-server-dom-webpack@0.0.0-experimental-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-server-dom-webpack@19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): + react-server-dom-webpack@19.0.0-rc-04bd67a4-20240924(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-shallow-renderer@16.15.0(react@19.0.0-rc-5d19e1c8-20240923): + react-shallow-renderer@16.15.0(react@19.0.0-rc-04bd67a4-20240924): dependencies: object-assign: 4.1.1 - react: 19.0.0-rc-5d19e1c8-20240923 - react-is: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-is: 19.0.0-rc-04bd67a4-20240924 - react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-5d19e1c8-20240923): + react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-04bd67a4-20240924): dependencies: object-is: 1.0.2 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 react-is: 19.0.0-rc-f90a6bcc-20240827 react-style-singleton@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): @@ -29073,12 +29073,12 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-test-renderer@18.2.0(react@19.0.0-rc-5d19e1c8-20240923): + react-test-renderer@18.2.0(react@19.0.0-rc-04bd67a4-20240924): dependencies: - react: 19.0.0-rc-5d19e1c8-20240923 - react-is: 19.0.0-rc-5d19e1c8-20240923 - react-shallow-renderer: 16.15.0(react@19.0.0-rc-5d19e1c8-20240923) - scheduler: 0.25.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 + react-is: 19.0.0-rc-04bd67a4-20240924 + react-shallow-renderer: 16.15.0(react@19.0.0-rc-04bd67a4-20240924) + scheduler: 0.25.0-rc-04bd67a4-20240924 react-textarea-autosize@8.5.3(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: @@ -29089,25 +29089,25 @@ snapshots: transitivePeerDependencies: - '@types/react' - react-virtualized@9.22.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): + react-virtualized@9.22.3(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924): dependencies: '@babel/runtime': 7.22.5 clsx: 1.1.1 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) react-lifecycles-compat: 3.0.4 - react@0.0.0-experimental-5d19e1c8-20240923: {} + react@0.0.0-experimental-04bd67a4-20240924: {} react@17.0.2: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react@19.0.0-rc-5d19e1c8-20240923: {} + react@19.0.0-rc-04bd67a4-20240924: {} react@19.0.0-rc-f90a6bcc-20240827: {} @@ -29809,9 +29809,9 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.0.0-experimental-5d19e1c8-20240923: {} + scheduler@0.0.0-experimental-04bd67a4-20240924: {} - scheduler@0.25.0-rc-5d19e1c8-20240923: {} + scheduler@0.25.0-rc-04bd67a4-20240924: {} schema-utils@2.7.1: dependencies: @@ -30448,7 +30448,7 @@ snapshots: dependencies: inline-style-parser: 0.1.1 - styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): + styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924))(react@19.0.0-rc-04bd67a4-20240924): dependencies: '@babel/cli': 7.21.5(@babel/core@7.22.5) '@babel/core': 7.22.5 @@ -30463,8 +30463,8 @@ snapshots: '@emotion/unitless': 0.8.1 css-to-react-native: 3.2.0 postcss: 8.4.31 - react: 19.0.0-rc-5d19e1c8-20240923 - react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + react-dom: 19.0.0-rc-04bd67a4-20240924(react@19.0.0-rc-04bd67a4-20240924) shallowequal: 1.1.0 stylis: 4.2.0 tslib: 2.5.3 @@ -30476,10 +30476,10 @@ snapshots: postcss: 7.0.32 postcss-load-plugins: 2.3.0 - styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923): + styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-04bd67a4-20240924): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 optionalDependencies: '@babel/core': 7.22.5 babel-plugin-macros: 3.1.0 @@ -30569,11 +30569,11 @@ snapshots: picocolors: 1.0.1 stable: 0.1.8 - swr@2.2.4(react@19.0.0-rc-5d19e1c8-20240923): + swr@2.2.4(react@19.0.0-rc-04bd67a4-20240924): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-5d19e1c8-20240923 - use-sync-external-store: 1.2.0(react@19.0.0-rc-5d19e1c8-20240923) + react: 19.0.0-rc-04bd67a4-20240924 + use-sync-external-store: 1.2.0(react@19.0.0-rc-04bd67a4-20240924) symbol-observable@1.0.1: {} @@ -31275,9 +31275,9 @@ snapshots: unist-util-is: 5.2.0 unist-util-visit-parents: 5.1.3 - unistore@3.4.1(react@19.0.0-rc-5d19e1c8-20240923): + unistore@3.4.1(react@19.0.0-rc-04bd67a4-20240924): optionalDependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 universal-github-app-jwt@1.1.1: dependencies: @@ -31395,9 +31395,9 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - use-sync-external-store@1.2.0(react@19.0.0-rc-5d19e1c8-20240923): + use-sync-external-store@1.2.0(react@19.0.0-rc-04bd67a4-20240924): dependencies: - react: 19.0.0-rc-5d19e1c8-20240923 + react: 19.0.0-rc-04bd67a4-20240924 util-deprecate@1.0.2: {} From 1275bfe06714c7540de478fed079dd50087d3599 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Tue, 24 Sep 2024 16:27:35 +0000 Subject: [PATCH 5/6] ncc-compiled --- .../cjs/react-dom-client.development.js | 619 ++++++++++-------- .../cjs/react-dom-client.production.js | 94 ++- .../cjs/react-dom-profiling.development.js | 619 ++++++++++-------- .../cjs/react-dom-profiling.profiling.js | 257 +++++--- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- .../react-dom-server.browser.development.js | 6 +- .../react-dom-server.browser.production.js | 6 +- .../cjs/react-dom-server.bun.production.js | 6 +- .../cjs/react-dom-server.edge.development.js | 6 +- .../cjs/react-dom-server.edge.production.js | 6 +- .../cjs/react-dom-server.node.development.js | 6 +- .../cjs/react-dom-server.node.production.js | 6 +- .../react-dom-unstable_testing.development.js | 619 ++++++++++-------- .../react-dom-unstable_testing.production.js | 94 ++- .../cjs/react-dom.development.js | 2 +- .../cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../react-dom-experimental/package.json | 4 +- .../cjs/react-dom-client.development.js | 400 +++++------ .../cjs/react-dom-client.production.js | 94 ++- .../cjs/react-dom-profiling.development.js | 400 +++++------ .../cjs/react-dom-profiling.profiling.js | 112 ++-- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- .../react-dom-server.browser.development.js | 6 +- .../react-dom-server.browser.production.js | 6 +- .../cjs/react-dom-server.bun.production.js | 6 +- .../cjs/react-dom-server.edge.development.js | 6 +- .../cjs/react-dom-server.edge.production.js | 6 +- .../cjs/react-dom-server.node.development.js | 6 +- .../cjs/react-dom-server.node.production.js | 6 +- .../react-dom/cjs/react-dom.development.js | 2 +- .../react-dom/cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../next/src/compiled/react-dom/package.json | 4 +- .../cjs/react.development.js | 2 +- .../cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/react-is/package.json | 2 +- ...om-turbopack-client.browser.development.js | 27 +- ...dom-turbopack-client.browser.production.js | 18 +- ...r-dom-turbopack-client.edge.development.js | 23 +- ...er-dom-turbopack-client.edge.production.js | 18 +- ...r-dom-turbopack-client.node.development.js | 23 +- ...er-dom-turbopack-client.node.production.js | 18 +- ...om-turbopack-server.browser.development.js | 3 + ...dom-turbopack-server.browser.production.js | 3 + ...r-dom-turbopack-server.edge.development.js | 3 + ...er-dom-turbopack-server.edge.production.js | 3 + ...r-dom-turbopack-server.node.development.js | 3 + ...er-dom-turbopack-server.node.production.js | 3 + .../package.json | 4 +- ...om-turbopack-client.browser.development.js | 27 +- ...dom-turbopack-client.browser.production.js | 18 +- ...r-dom-turbopack-client.edge.development.js | 23 +- ...er-dom-turbopack-client.edge.production.js | 18 +- ...r-dom-turbopack-client.node.development.js | 23 +- ...er-dom-turbopack-client.node.production.js | 18 +- ...om-turbopack-server.browser.development.js | 3 + ...dom-turbopack-server.browser.production.js | 3 + ...r-dom-turbopack-server.edge.development.js | 3 + ...er-dom-turbopack-server.edge.production.js | 3 + ...r-dom-turbopack-server.node.development.js | 3 + ...er-dom-turbopack-server.node.production.js | 3 + .../react-server-dom-turbopack/package.json | 4 +- ...-dom-webpack-client.browser.development.js | 27 +- ...r-dom-webpack-client.browser.production.js | 18 +- ...ver-dom-webpack-client.edge.development.js | 23 +- ...rver-dom-webpack-client.edge.production.js | 18 +- ...ver-dom-webpack-client.node.development.js | 23 +- ...rver-dom-webpack-client.node.production.js | 18 +- ...bpack-client.node.unbundled.development.js | 23 +- ...ebpack-client.node.unbundled.production.js | 18 +- ...-dom-webpack-server.browser.development.js | 3 + ...r-dom-webpack-server.browser.production.js | 3 + ...ver-dom-webpack-server.edge.development.js | 3 + ...rver-dom-webpack-server.edge.production.js | 3 + ...ver-dom-webpack-server.node.development.js | 3 + ...rver-dom-webpack-server.node.production.js | 3 + ...bpack-server.node.unbundled.development.js | 3 + ...ebpack-server.node.unbundled.production.js | 3 + .../package.json | 4 +- ...-dom-webpack-client.browser.development.js | 27 +- ...r-dom-webpack-client.browser.production.js | 18 +- ...ver-dom-webpack-client.edge.development.js | 23 +- ...rver-dom-webpack-client.edge.production.js | 18 +- ...ver-dom-webpack-client.node.development.js | 23 +- ...rver-dom-webpack-client.node.production.js | 18 +- ...bpack-client.node.unbundled.development.js | 23 +- ...ebpack-client.node.unbundled.production.js | 18 +- ...-dom-webpack-server.browser.development.js | 3 + ...r-dom-webpack-server.browser.production.js | 3 + ...ver-dom-webpack-server.edge.development.js | 3 + ...rver-dom-webpack-server.edge.production.js | 3 + ...ver-dom-webpack-server.node.development.js | 3 + ...rver-dom-webpack-server.node.production.js | 3 + ...bpack-server.node.unbundled.development.js | 3 + ...ebpack-server.node.unbundled.production.js | 3 + .../react-server-dom-webpack/package.json | 4 +- .../compiled/react/cjs/react.development.js | 2 +- .../compiled/react/cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/unistore/unistore.js | 2 +- 112 files changed, 2450 insertions(+), 1692 deletions(-) diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index 9fc79fa112425..240a94d7f070d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -1236,6 +1236,17 @@ lanes &= ~root; } } + function getGroupNameOfHighestPriorityLane(lanes) { + return lanes & 63 + ? "Blocking" + : lanes & 4194240 + ? "Transition" + : lanes & 62914560 + ? "Suspense" + : lanes & 2080374784 + ? "Idle" + : "Other"; + } function lanesToEventPriority(lanes) { lanes &= -lanes; return 0 !== DiscreteEventPriority && DiscreteEventPriority < lanes @@ -3774,6 +3785,34 @@ (reusableComponentOptions.end = endTime), performance.measure(fiber, reusableComponentOptions)); } + function logRenderPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Render", reusableComponentOptions)); + } + function logSuspenseThrottlePhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Throttled", reusableComponentOptions)); + } + function logSuspendedCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Suspended", reusableComponentOptions)); + } + function logCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Commit", reusableComponentOptions)); + } function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, @@ -8852,33 +8891,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2262; - var JSCompiler_object_inline_stack_2261 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2274; + var JSCompiler_object_inline_stack_2273 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2259 = !1; + var JSCompiler_object_inline_message_2271 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2262 = didSuspend) || - (JSCompiler_object_inline_componentStack_2262 = + (JSCompiler_object_inline_componentStack_2274 = didSuspend) || + (JSCompiler_object_inline_componentStack_2274 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2262 && - ((JSCompiler_object_inline_message_2259 = !0), + JSCompiler_object_inline_componentStack_2274 && + ((JSCompiler_object_inline_message_2271 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2262 = + JSCompiler_object_inline_componentStack_2274 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2259 + JSCompiler_object_inline_message_2271 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2260 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2272 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2260)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2272)) { c: { - var instance = JSCompiler_object_inline_digest_2260; + var instance = JSCompiler_object_inline_digest_2272; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8919,19 +8958,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2260 + JSCompiler_object_inline_digest_2272 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2260 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2272 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2260 && - ((JSCompiler_object_inline_digest_2260 = - JSCompiler_object_inline_digest_2260.dehydrated), - null !== JSCompiler_object_inline_digest_2260) + null !== JSCompiler_object_inline_digest_2272 && + ((JSCompiler_object_inline_digest_2272 = + JSCompiler_object_inline_digest_2272.dehydrated), + null !== JSCompiler_object_inline_digest_2272) ) return ( - JSCompiler_object_inline_digest_2260.data === + JSCompiler_object_inline_digest_2272.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8939,68 +8978,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2260 = - JSCompiler_object_inline_stack_2261.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2261.fallback; - if (JSCompiler_object_inline_message_2259) + JSCompiler_object_inline_digest_2272 = + JSCompiler_object_inline_stack_2273.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2273.fallback; + if (JSCompiler_object_inline_message_2271) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2261 = + (JSCompiler_object_inline_stack_2273 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2260, + JSCompiler_object_inline_digest_2272, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2259 = workInProgress.child), - (JSCompiler_object_inline_message_2259.memoizedState = + (JSCompiler_object_inline_message_2271 = workInProgress.child), + (JSCompiler_object_inline_message_2271.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2259.childLanes = + (JSCompiler_object_inline_message_2271.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2262, + JSCompiler_object_inline_componentStack_2274, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2261 + JSCompiler_object_inline_stack_2273 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2261.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2273.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2261 = + (JSCompiler_object_inline_stack_2273 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2260, + JSCompiler_object_inline_digest_2272, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2259 = workInProgress.child), - (JSCompiler_object_inline_message_2259.memoizedState = + (JSCompiler_object_inline_message_2271 = workInProgress.child), + (JSCompiler_object_inline_message_2271.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2259.childLanes = + (JSCompiler_object_inline_message_2271.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2262, + JSCompiler_object_inline_componentStack_2274, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2261 + JSCompiler_object_inline_stack_2273 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2260 + JSCompiler_object_inline_digest_2272 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2260 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2260) + ((JSCompiler_object_inline_digest_2272 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2272) ) { if (didSuspend) workInProgress.flags & 256 @@ -9017,94 +9056,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2259 = - JSCompiler_object_inline_stack_2261.fallback), - (JSCompiler_object_inline_digest_2260 = workInProgress.mode), - (JSCompiler_object_inline_stack_2261 = + (JSCompiler_object_inline_message_2271 = + JSCompiler_object_inline_stack_2273.fallback), + (JSCompiler_object_inline_digest_2272 = workInProgress.mode), + (JSCompiler_object_inline_stack_2273 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2261.children + children: JSCompiler_object_inline_stack_2273.children }, - JSCompiler_object_inline_digest_2260 + JSCompiler_object_inline_digest_2272 )), - (JSCompiler_object_inline_message_2259 = + (JSCompiler_object_inline_message_2271 = createFiberFromFragment( - JSCompiler_object_inline_message_2259, - JSCompiler_object_inline_digest_2260, + JSCompiler_object_inline_message_2271, + JSCompiler_object_inline_digest_2272, renderLanes, null )), - (JSCompiler_object_inline_message_2259.flags |= 2), - (JSCompiler_object_inline_stack_2261.return = workInProgress), - (JSCompiler_object_inline_message_2259.return = workInProgress), - (JSCompiler_object_inline_stack_2261.sibling = - JSCompiler_object_inline_message_2259), - (workInProgress.child = JSCompiler_object_inline_stack_2261), + (JSCompiler_object_inline_message_2271.flags |= 2), + (JSCompiler_object_inline_stack_2273.return = workInProgress), + (JSCompiler_object_inline_message_2271.return = workInProgress), + (JSCompiler_object_inline_stack_2273.sibling = + JSCompiler_object_inline_message_2271), + (workInProgress.child = JSCompiler_object_inline_stack_2273), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2261 = workInProgress.child), - (JSCompiler_object_inline_stack_2261.memoizedState = + (JSCompiler_object_inline_stack_2273 = workInProgress.child), + (JSCompiler_object_inline_stack_2273.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2261.childLanes = + (JSCompiler_object_inline_stack_2273.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2262, + JSCompiler_object_inline_componentStack_2274, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2259)); + (workInProgress = JSCompiler_object_inline_message_2271)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2260.data === + JSCompiler_object_inline_digest_2272.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2262 = - JSCompiler_object_inline_digest_2260.nextSibling && - JSCompiler_object_inline_digest_2260.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2262) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2262.dgst; - var message = JSCompiler_object_inline_componentStack_2262.msg; - instance = JSCompiler_object_inline_componentStack_2262.stck; + JSCompiler_object_inline_componentStack_2274 = + JSCompiler_object_inline_digest_2272.nextSibling && + JSCompiler_object_inline_digest_2272.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2274) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2274.dgst; + var message = JSCompiler_object_inline_componentStack_2274.msg; + instance = JSCompiler_object_inline_componentStack_2274.stck; var componentStack = - JSCompiler_object_inline_componentStack_2262.cstck; + JSCompiler_object_inline_componentStack_2274.cstck; } - JSCompiler_object_inline_message_2259 = message; - JSCompiler_object_inline_digest_2260 = JSCompiler_temp; - JSCompiler_object_inline_stack_2261 = instance; - JSCompiler_object_inline_componentStack_2262 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2260 && - ((JSCompiler_object_inline_message_2259 = - JSCompiler_object_inline_message_2259 - ? Error(JSCompiler_object_inline_message_2259) + JSCompiler_object_inline_message_2271 = message; + JSCompiler_object_inline_digest_2272 = JSCompiler_temp; + JSCompiler_object_inline_stack_2273 = instance; + JSCompiler_object_inline_componentStack_2274 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2272 && + ((JSCompiler_object_inline_message_2271 = + JSCompiler_object_inline_message_2271 + ? Error(JSCompiler_object_inline_message_2271) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2259.stack = - JSCompiler_object_inline_stack_2261 || ""), - (JSCompiler_object_inline_message_2259.digest = - JSCompiler_object_inline_digest_2260), - (JSCompiler_object_inline_componentStack_2262 = - void 0 === JSCompiler_object_inline_componentStack_2262 + (JSCompiler_object_inline_message_2271.stack = + JSCompiler_object_inline_stack_2273 || ""), + (JSCompiler_object_inline_message_2271.digest = + JSCompiler_object_inline_digest_2272), + (JSCompiler_object_inline_componentStack_2274 = + void 0 === JSCompiler_object_inline_componentStack_2274 ? null - : JSCompiler_object_inline_componentStack_2262), - "string" === typeof JSCompiler_object_inline_componentStack_2262 && + : JSCompiler_object_inline_componentStack_2274), + "string" === typeof JSCompiler_object_inline_componentStack_2274 && CapturedStacks.set( - JSCompiler_object_inline_message_2259, - JSCompiler_object_inline_componentStack_2262 + JSCompiler_object_inline_message_2271, + JSCompiler_object_inline_componentStack_2274 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2259, + value: JSCompiler_object_inline_message_2271, source: null, - stack: JSCompiler_object_inline_componentStack_2262 + stack: JSCompiler_object_inline_componentStack_2274 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9119,25 +9158,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2262 = + (JSCompiler_object_inline_componentStack_2274 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2262) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2274) ) { - JSCompiler_object_inline_componentStack_2262 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2262) { - JSCompiler_object_inline_stack_2261 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2261 & 42)) - JSCompiler_object_inline_stack_2261 = 1; + JSCompiler_object_inline_componentStack_2274 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2274) { + JSCompiler_object_inline_stack_2273 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2273 & 42)) + JSCompiler_object_inline_stack_2273 = 1; else - switch (JSCompiler_object_inline_stack_2261) { + switch (JSCompiler_object_inline_stack_2273) { case 2: - JSCompiler_object_inline_stack_2261 = 1; + JSCompiler_object_inline_stack_2273 = 1; break; case 8: - JSCompiler_object_inline_stack_2261 = 4; + JSCompiler_object_inline_stack_2273 = 4; break; case 32: - JSCompiler_object_inline_stack_2261 = 16; + JSCompiler_object_inline_stack_2273 = 16; break; case 128: case 256: @@ -9158,40 +9197,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2261 = 64; + JSCompiler_object_inline_stack_2273 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2261 = 134217728; + JSCompiler_object_inline_stack_2273 = 134217728; break; default: - JSCompiler_object_inline_stack_2261 = 0; + JSCompiler_object_inline_stack_2273 = 0; } - JSCompiler_object_inline_stack_2261 = + JSCompiler_object_inline_stack_2273 = 0 !== - (JSCompiler_object_inline_stack_2261 & - (JSCompiler_object_inline_componentStack_2262.suspendedLanes | + (JSCompiler_object_inline_stack_2273 & + (JSCompiler_object_inline_componentStack_2274.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2261; + : JSCompiler_object_inline_stack_2273; if ( - 0 !== JSCompiler_object_inline_stack_2261 && - JSCompiler_object_inline_stack_2261 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2273 && + JSCompiler_object_inline_stack_2273 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2261), + ((prevState.retryLane = JSCompiler_object_inline_stack_2273), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2261 + JSCompiler_object_inline_stack_2273 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2262, + JSCompiler_object_inline_componentStack_2274, current, - JSCompiler_object_inline_stack_2261 + JSCompiler_object_inline_stack_2273 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2260.data === + JSCompiler_object_inline_digest_2272.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9199,7 +9238,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2260.data === + JSCompiler_object_inline_digest_2272.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9207,12 +9246,12 @@ null, current )), - (JSCompiler_object_inline_digest_2260._reactRetry = + (JSCompiler_object_inline_digest_2272._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2260.nextSibling + JSCompiler_object_inline_digest_2272.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9230,54 +9269,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2261.children + JSCompiler_object_inline_stack_2273.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2259) + if (JSCompiler_object_inline_message_2271) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2259 = - JSCompiler_object_inline_stack_2261.fallback), - (JSCompiler_object_inline_digest_2260 = workInProgress.mode), + (JSCompiler_object_inline_message_2271 = + JSCompiler_object_inline_stack_2273.fallback), + (JSCompiler_object_inline_digest_2272 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2261 = createWorkInProgress( + (JSCompiler_object_inline_stack_2273 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2261.children + children: JSCompiler_object_inline_stack_2273.children } )), - (JSCompiler_object_inline_stack_2261.subtreeFlags = + (JSCompiler_object_inline_stack_2273.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2259 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2271 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2259 + JSCompiler_object_inline_message_2271 )) - : ((JSCompiler_object_inline_message_2259 = createFiberFromFragment( - JSCompiler_object_inline_message_2259, - JSCompiler_object_inline_digest_2260, + : ((JSCompiler_object_inline_message_2271 = createFiberFromFragment( + JSCompiler_object_inline_message_2271, + JSCompiler_object_inline_digest_2272, renderLanes, null )), - (JSCompiler_object_inline_message_2259.flags |= 2)), - (JSCompiler_object_inline_message_2259.return = workInProgress), - (JSCompiler_object_inline_stack_2261.return = workInProgress), - (JSCompiler_object_inline_stack_2261.sibling = - JSCompiler_object_inline_message_2259), - (workInProgress.child = JSCompiler_object_inline_stack_2261), - (JSCompiler_object_inline_stack_2261 = - JSCompiler_object_inline_message_2259), - (JSCompiler_object_inline_message_2259 = workInProgress.child), - (JSCompiler_object_inline_digest_2260 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2260 - ? (JSCompiler_object_inline_digest_2260 = + (JSCompiler_object_inline_message_2271.flags |= 2)), + (JSCompiler_object_inline_message_2271.return = workInProgress), + (JSCompiler_object_inline_stack_2273.return = workInProgress), + (JSCompiler_object_inline_stack_2273.sibling = + JSCompiler_object_inline_message_2271), + (workInProgress.child = JSCompiler_object_inline_stack_2273), + (JSCompiler_object_inline_stack_2273 = + JSCompiler_object_inline_message_2271), + (JSCompiler_object_inline_message_2271 = workInProgress.child), + (JSCompiler_object_inline_digest_2272 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2272 + ? (JSCompiler_object_inline_digest_2272 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2260.cachePool), + JSCompiler_object_inline_digest_2272.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9285,38 +9324,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2260 = { + (JSCompiler_object_inline_digest_2272 = { baseLanes: - JSCompiler_object_inline_digest_2260.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2272.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2259.memoizedState = - JSCompiler_object_inline_digest_2260), - (JSCompiler_object_inline_message_2259.childLanes = + (JSCompiler_object_inline_message_2271.memoizedState = + JSCompiler_object_inline_digest_2272), + (JSCompiler_object_inline_message_2271.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2262, + JSCompiler_object_inline_componentStack_2274, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2261 + JSCompiler_object_inline_stack_2273 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2261.children + children: JSCompiler_object_inline_stack_2273.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2262 = + ((JSCompiler_object_inline_componentStack_2274 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2262 + null === JSCompiler_object_inline_componentStack_2274 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2262.push(current)); + : JSCompiler_object_inline_componentStack_2274.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11234,7 +11273,12 @@ } else ref.current = null; } - function commitProfiler(finishedWork, current, commitTime, effectDuration) { + function commitProfiler( + finishedWork, + current, + commitStartTime, + effectDuration + ) { var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit; @@ -11248,20 +11292,20 @@ finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, - commitTime + commitStartTime ); "function" === typeof onCommit && onCommit( finishedWork.memoizedProps.id, current, effectDuration, - commitTime + commitStartTime ); } function commitProfilerPostCommitImpl( finishedWork, current, - commitTime, + commitStartTime, passiveEffectDuration ) { var _finishedWork$memoize2 = finishedWork.memoizedProps; @@ -11274,7 +11318,7 @@ finishedWork, current, passiveEffectDuration, - commitTime + commitStartTime ); } function commitHostMount(finishedWork) { @@ -11718,7 +11762,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration ); } catch (error) { @@ -12732,7 +12776,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, includeWorkInProgressEffects.effectDuration ); } catch (error) { @@ -12928,7 +12972,7 @@ commitProfilerPostCommitImpl, finishedWork, finishedWork.alternate, - commitTime, + commitStartTime, finishedRoot.passiveEffectDuration ); } catch (error) { @@ -14592,15 +14636,13 @@ root === workInProgressRoot ? workInProgressRootRenderLanes : 0 ); if (0 === lanes) return null; - var shouldTimeSlice = - 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout; - didTimeout = shouldTimeSlice + var exitStatus = (didTimeout = + 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout) ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes); - if (didTimeout !== RootInProgress) { - var renderWasConcurrent = shouldTimeSlice; + if (exitStatus !== RootInProgress) { do { - if (didTimeout === RootDidNotComplete) + if (exitStatus === RootDidNotComplete) markRootSuspended( root, lanes, @@ -14608,35 +14650,35 @@ workInProgressRootDidSkipSuspendedSiblings ); else { - shouldTimeSlice = root.current.alternate; + var finishedWork = root.current.alternate; if ( - renderWasConcurrent && - !isRenderConsistentWithExternalStores(shouldTimeSlice) + didTimeout && + !isRenderConsistentWithExternalStores(finishedWork) ) { - didTimeout = renderRootSync(root, lanes); - renderWasConcurrent = !1; + exitStatus = renderRootSync(root, lanes); + didTimeout = !1; continue; } - if (didTimeout === RootErrored) { - renderWasConcurrent = lanes; + if (exitStatus === RootErrored) { + didTimeout = lanes; var errorRetryLanes = getLanesToRetrySynchronouslyOnError( root, - renderWasConcurrent + didTimeout ); if ( 0 !== errorRetryLanes && ((lanes = errorRetryLanes), - (didTimeout = recoverFromConcurrentError( + (exitStatus = recoverFromConcurrentError( root, - renderWasConcurrent, + didTimeout, errorRetryLanes )), - (renderWasConcurrent = !1), - didTimeout !== RootErrored) + (didTimeout = !1), + exitStatus !== RootErrored) ) continue; } - if (didTimeout === RootFatalErrored) { + if (exitStatus === RootFatalErrored) { prepareFreshStack(root, 0); markRootSuspended( root, @@ -14647,16 +14689,16 @@ break; } a: { - renderWasConcurrent = root; - completeTime = now(); - switch (didTimeout) { + didTimeout = root; + errorRetryLanes = now$1(); + switch (exitStatus) { case RootInProgress: case RootFatalErrored: throw Error("Root did not complete. This is a bug in React."); case RootSuspendedWithDelay: if ((lanes & 4194176) === lanes) { markRootSuspended( - renderWasConcurrent, + didTimeout, lanes, workInProgressDeferredLane, workInProgressRootDidSkipSuspendedSiblings @@ -14673,39 +14715,42 @@ default: throw Error("Unknown root exit status."); } - renderWasConcurrent.finishedWork = shouldTimeSlice; - renderWasConcurrent.finishedLanes = lanes; + didTimeout.finishedWork = finishedWork; + didTimeout.finishedLanes = lanes; if (null !== ReactSharedInternals.actQueue) commitRoot( - renderWasConcurrent, + didTimeout, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + errorRetryLanes ); else { if ( (lanes & 62914560) === lanes && - ((didTimeout = + ((exitStatus = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1()), - 10 < didTimeout) + 10 < exitStatus) ) { markRootSuspended( - renderWasConcurrent, + didTimeout, lanes, workInProgressDeferredLane, workInProgressRootDidSkipSuspendedSiblings ); - if (0 !== getNextLanes(renderWasConcurrent, 0)) break a; - renderWasConcurrent.timeoutHandle = scheduleTimeout( + if (0 !== getNextLanes(didTimeout, 0)) break a; + didTimeout.timeoutHandle = scheduleTimeout( commitRootWhenReady.bind( null, - renderWasConcurrent, - shouldTimeSlice, + didTimeout, + finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, @@ -14713,15 +14758,18 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + THROTTLED_COMMIT, + renderStartTime, + errorRetryLanes ), - didTimeout + exitStatus ); break a; } commitRootWhenReady( - renderWasConcurrent, - shouldTimeSlice, + didTimeout, + finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, @@ -14729,7 +14777,10 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + IMMEDIATE_COMMIT, + renderStartTime, + errorRetryLanes ); } } @@ -14787,7 +14838,10 @@ spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -14806,7 +14860,8 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + SUSPENDED_COMMIT ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -14819,7 +14874,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -14928,7 +14986,7 @@ ensureRootIsScheduled(root), null ); - completeTime = now(); + exitStatus = now$1(); root.finishedWork = root.current.alternate; root.finishedLanes = lanes; commitRoot( @@ -14938,7 +14996,10 @@ workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + exitStatus ); ensureRootIsScheduled(root); return null; @@ -15568,7 +15629,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -15583,7 +15647,10 @@ previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -15599,7 +15666,10 @@ renderPriorityLevel, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { do flushPassiveEffects(); while (null !== rootWithPendingPassiveEffects); @@ -15609,6 +15679,9 @@ throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; + reusableComponentDevToolDetails.track = + getGroupNameOfHighestPriorityLane(lanes); + logRenderPhase(completedRenderStartTime, completedRenderEndTime); if (null === finishedWork) return null; 0 === lanes && console.error( @@ -15623,12 +15696,12 @@ root.callbackNode = null; root.callbackPriority = 0; root.cancelPendingCommit = null; - var remainingLanes = finishedWork.lanes | finishedWork.childLanes; - remainingLanes |= concurrentlyUpdatedLanes; + completedRenderStartTime = finishedWork.lanes | finishedWork.childLanes; + completedRenderStartTime |= concurrentlyUpdatedLanes; markRootFinished( root, lanes, - remainingLanes, + completedRenderStartTime, spawnedLane, updatedLanes, suspendedRetryLanes @@ -15642,12 +15715,18 @@ 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), - (pendingPassiveEffectsRemainingLanes = remainingLanes), + (pendingPassiveEffectsRemainingLanes = completedRenderStartTime), + (pendingPassiveEffectsRenderEndTime = completedRenderEndTime), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); + commitStartTime = now(); + suspendedCommitReason === SUSPENDED_COMMIT + ? logSuspendedCommitPhase(completedRenderEndTime, commitStartTime) + : suspendedCommitReason === THROTTLED_COMMIT && + logSuspenseThrottlePhase(completedRenderEndTime, commitStartTime); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? ((transitions = ReactSharedInternals.T), @@ -15657,7 +15736,6 @@ (updatedLanes = executionContext), (executionContext |= CommitContext), commitBeforeMutationEffects(root, finishedWork), - (commitTime = now()), commitMutationEffects(root, finishedWork, lanes), restoreSelection(selectionInformation, root.containerInfo), (_enabled = !!eventsEnabled), @@ -15668,16 +15746,19 @@ (executionContext = updatedLanes), (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) - : ((root.current = finishedWork), (commitTime = now())); + : (root.current = finishedWork); + commitEndTime = now(); + logCommitPhase(commitStartTime, commitEndTime); (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), (pendingPassiveEffectsLanes = lanes)) - : (releaseRootPooledCache(root, remainingLanes), + : (releaseRootPooledCache(root, completedRenderStartTime), (nestedPassiveUpdateCount = 0), (rootWithPassiveNestedUpdates = null)); - remainingLanes = root.pendingLanes; - 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); + completedRenderStartTime = root.pendingLanes; + 0 === completedRenderStartTime && + (legacyErrorBoundariesThatAlreadyFailed = null); transitions || commitDoubleInvokeEffectsInDEV(root); onCommitRoot$1(finishedWork.stateNode, renderPriorityLevel); isDevToolsPresent && root.memoizedUpdaters.clear(); @@ -15689,19 +15770,19 @@ finishedWork < recoverableErrors.length; finishedWork++ ) - (remainingLanes = recoverableErrors[finishedWork]), - (spawnedLane = makeErrorInfo(remainingLanes.stack)), + (completedRenderStartTime = recoverableErrors[finishedWork]), + (spawnedLane = makeErrorInfo(completedRenderStartTime.stack)), runWithFiberInDEV( - remainingLanes.source, + completedRenderStartTime.source, renderPriorityLevel, - remainingLanes.value, + completedRenderStartTime.value, spawnedLane ); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); - remainingLanes = root.pendingLanes; + completedRenderStartTime = root.pendingLanes; didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate || - (0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42)) + (0 !== (lanes & 4194218) && 0 !== (completedRenderStartTime & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -15728,7 +15809,7 @@ null != remainingLanes && ((root.pooledCache = null), releaseCache(remainingLanes))); } - function flushPassiveEffects() { + function flushPassiveEffects(wasDelayedCommit) { if (null !== rootWithPendingPassiveEffects) { var root = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; @@ -15746,10 +15827,10 @@ if (null === rootWithPendingPassiveEffects) var JSCompiler_inline_result = !1; else { - priority = pendingPassiveTransitions; + var transitions = pendingPassiveTransitions; pendingPassiveTransitions = null; - var root$jscomp$0 = rootWithPendingPassiveEffects, - lanes = pendingPassiveEffectsLanes; + priority = rootWithPendingPassiveEffects; + var lanes = pendingPassiveEffectsLanes; rootWithPendingPassiveEffects = null; pendingPassiveEffectsLanes = 0; if ( @@ -15760,40 +15841,56 @@ "Cannot flush passive effects while already rendering." ); reusableComponentDevToolDetails.track = - lanes & 63 - ? "Blocking" - : lanes & 4194240 - ? "Transition" - : lanes & 62914560 - ? "Suspense" - : lanes & 2080374784 - ? "Idle" - : "Other"; + getGroupNameOfHighestPriorityLane(lanes); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - var prevExecutionContext = executionContext; + var passiveEffectStartTime = 0; + passiveEffectStartTime = now$1(); + var startTime = commitEndTime, + endTime = passiveEffectStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure( + "Waiting for Paint", + reusableComponentOptions + )); + startTime = executionContext; executionContext |= CommitContext; - var finishedWork = root$jscomp$0.current; + var finishedWork = priority.current; resetComponentEffectTimers(); commitPassiveUnmountOnFiber(finishedWork); - var finishedWork$jscomp$0 = root$jscomp$0.current; + var finishedWork$jscomp$0 = priority.current; + finishedWork = pendingPassiveEffectsRenderEndTime; resetComponentEffectTimers(); commitPassiveMountOnFiber( - root$jscomp$0, + priority, finishedWork$jscomp$0, lanes, - priority, - completeTime + transitions, + finishedWork ); - commitDoubleInvokeEffectsInDEV(root$jscomp$0); - executionContext = prevExecutionContext; - finalizeRender(lanes, now$1()); + commitDoubleInvokeEffectsInDEV(priority); + executionContext = startTime; + var passiveEffectsEndTime = now$1(); + wasDelayedCommit && + ((wasDelayedCommit = passiveEffectStartTime), + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = wasDelayedCommit), + (reusableComponentOptions.end = passiveEffectsEndTime), + performance.measure( + "Remaining Effects", + reusableComponentOptions + ))); + finalizeRender(lanes, passiveEffectsEndTime); flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects - ? root$jscomp$0 === rootWithPassiveNestedUpdates + ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ : ((nestedPassiveUpdateCount = 0), - (rootWithPassiveNestedUpdates = root$jscomp$0)) + (rootWithPassiveNestedUpdates = priority)) : (nestedPassiveUpdateCount = 0); didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1; @@ -15802,7 +15899,7 @@ "function" === typeof injectedHook.onPostCommitFiberRoot ) try { - injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0); + injectedHook.onPostCommitFiberRoot(rendererID, priority); } catch (err) { hasLoggedError || ((hasLoggedError = !0), @@ -15811,7 +15908,7 @@ err )); } - var stateNode = root$jscomp$0.current.stateNode; + var stateNode = priority.current.stateNode; stateNode.effectDuration = 0; stateNode.passiveEffectDuration = 0; JSCompiler_inline_result = !0; @@ -22489,8 +22586,8 @@ NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, renderStartTime = -0, - completeTime = -0, - commitTime = -0, + commitStartTime = -0, + commitEndTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, @@ -24320,6 +24417,7 @@ rootWithPendingPassiveEffects = null, pendingPassiveEffectsLanes = 0, pendingPassiveEffectsRemainingLanes = 0, + pendingPassiveEffectsRenderEndTime = -0, pendingPassiveTransitions = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, @@ -24330,6 +24428,9 @@ nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, + IMMEDIATE_COMMIT = 0, + SUSPENDED_COMMIT = 1, + THROTTLED_COMMIT = 2, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1; var didWarnAboutUpdateInRenderForAnotherComponent = new Set(); @@ -24874,11 +24975,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24915,11 +25016,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25061,7 +25162,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js index 36aabe44a73cf..02789bfd051e0 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js @@ -10512,7 +10512,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 2, + -0, + 0 ), didTimeout ); @@ -10528,7 +10531,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 0, + -0, + 0 ); } } @@ -10583,7 +10589,10 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -10602,7 +10611,8 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + 1 ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -10615,7 +10625,10 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -10727,7 +10740,10 @@ function performSyncWorkOnRoot(root, lanes) { workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + 0, + -0, + 0 ); ensureRootIsScheduled(root); return null; @@ -11168,7 +11184,10 @@ function commitRoot( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -11183,7 +11202,10 @@ function commitRoot( previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -11234,7 +11256,7 @@ function commitRootImpl( (pendingPassiveEffectsRemainingLanes = remainingLanes), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); transitions = 0 !== (finishedWork.flags & 15990); @@ -11735,20 +11757,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1404 = 0; - i$jscomp$inline_1404 < simpleEventPluginEvents.length; - i$jscomp$inline_1404++ + var i$jscomp$inline_1407 = 0; + i$jscomp$inline_1407 < simpleEventPluginEvents.length; + i$jscomp$inline_1407++ ) { - var eventName$jscomp$inline_1405 = - simpleEventPluginEvents[i$jscomp$inline_1404], - domEventName$jscomp$inline_1406 = - eventName$jscomp$inline_1405.toLowerCase(), - capitalizedEvent$jscomp$inline_1407 = - eventName$jscomp$inline_1405[0].toUpperCase() + - eventName$jscomp$inline_1405.slice(1); + var eventName$jscomp$inline_1408 = + simpleEventPluginEvents[i$jscomp$inline_1407], + domEventName$jscomp$inline_1409 = + eventName$jscomp$inline_1408.toLowerCase(), + capitalizedEvent$jscomp$inline_1410 = + eventName$jscomp$inline_1408[0].toUpperCase() + + eventName$jscomp$inline_1408.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1406, - "on" + capitalizedEvent$jscomp$inline_1407 + domEventName$jscomp$inline_1409, + "on" + capitalizedEvent$jscomp$inline_1410 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15189,16 +15211,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1651 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1654 = React.version; if ( - "19.0.0-experimental-5d19e1c8-20240923" !== - isomorphicReactPackageVersion$jscomp$inline_1651 + "19.0.0-experimental-04bd67a4-20240924" !== + isomorphicReactPackageVersion$jscomp$inline_1654 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1651, - "19.0.0-experimental-5d19e1c8-20240923" + isomorphicReactPackageVersion$jscomp$inline_1654, + "19.0.0-experimental-04bd67a4-20240924" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15218,25 +15240,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2111 = { +var internals$jscomp$inline_2114 = { bundleType: 0, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2112 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2115 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2112.isDisabled && - hook$jscomp$inline_2112.supportsFiber + !hook$jscomp$inline_2115.isDisabled && + hook$jscomp$inline_2115.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2112.inject( - internals$jscomp$inline_2111 + (rendererID = hook$jscomp$inline_2115.inject( + internals$jscomp$inline_2114 )), - (injectedHook = hook$jscomp$inline_2112); + (injectedHook = hook$jscomp$inline_2115); } catch (err) {} } exports.createRoot = function (container, options) { @@ -15328,4 +15350,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js index 31949e978046b..c51ad9955e1b1 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js @@ -1244,6 +1244,17 @@ lanes &= ~root; } } + function getGroupNameOfHighestPriorityLane(lanes) { + return lanes & 63 + ? "Blocking" + : lanes & 4194240 + ? "Transition" + : lanes & 62914560 + ? "Suspense" + : lanes & 2080374784 + ? "Idle" + : "Other"; + } function lanesToEventPriority(lanes) { lanes &= -lanes; return 0 !== DiscreteEventPriority && DiscreteEventPriority < lanes @@ -3782,6 +3793,34 @@ (reusableComponentOptions.end = endTime), performance.measure(fiber, reusableComponentOptions)); } + function logRenderPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Render", reusableComponentOptions)); + } + function logSuspenseThrottlePhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Throttled", reusableComponentOptions)); + } + function logSuspendedCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Suspended", reusableComponentOptions)); + } + function logCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Commit", reusableComponentOptions)); + } function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, @@ -8860,33 +8899,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2267; - var JSCompiler_object_inline_stack_2266 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2279; + var JSCompiler_object_inline_stack_2278 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2264 = !1; + var JSCompiler_object_inline_message_2276 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2267 = didSuspend) || - (JSCompiler_object_inline_componentStack_2267 = + (JSCompiler_object_inline_componentStack_2279 = didSuspend) || + (JSCompiler_object_inline_componentStack_2279 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2267 && - ((JSCompiler_object_inline_message_2264 = !0), + JSCompiler_object_inline_componentStack_2279 && + ((JSCompiler_object_inline_message_2276 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2267 = + JSCompiler_object_inline_componentStack_2279 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2264 + JSCompiler_object_inline_message_2276 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2265 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2277 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2265)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2277)) { c: { - var instance = JSCompiler_object_inline_digest_2265; + var instance = JSCompiler_object_inline_digest_2277; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8927,19 +8966,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2265 + JSCompiler_object_inline_digest_2277 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2265 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2277 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2265 && - ((JSCompiler_object_inline_digest_2265 = - JSCompiler_object_inline_digest_2265.dehydrated), - null !== JSCompiler_object_inline_digest_2265) + null !== JSCompiler_object_inline_digest_2277 && + ((JSCompiler_object_inline_digest_2277 = + JSCompiler_object_inline_digest_2277.dehydrated), + null !== JSCompiler_object_inline_digest_2277) ) return ( - JSCompiler_object_inline_digest_2265.data === + JSCompiler_object_inline_digest_2277.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8947,68 +8986,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2265 = - JSCompiler_object_inline_stack_2266.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2266.fallback; - if (JSCompiler_object_inline_message_2264) + JSCompiler_object_inline_digest_2277 = + JSCompiler_object_inline_stack_2278.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2278.fallback; + if (JSCompiler_object_inline_message_2276) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2266 = + (JSCompiler_object_inline_stack_2278 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2265, + JSCompiler_object_inline_digest_2277, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2264 = workInProgress.child), - (JSCompiler_object_inline_message_2264.memoizedState = + (JSCompiler_object_inline_message_2276 = workInProgress.child), + (JSCompiler_object_inline_message_2276.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2264.childLanes = + (JSCompiler_object_inline_message_2276.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2267, + JSCompiler_object_inline_componentStack_2279, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2266 + JSCompiler_object_inline_stack_2278 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2266.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2278.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2266 = + (JSCompiler_object_inline_stack_2278 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2265, + JSCompiler_object_inline_digest_2277, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2264 = workInProgress.child), - (JSCompiler_object_inline_message_2264.memoizedState = + (JSCompiler_object_inline_message_2276 = workInProgress.child), + (JSCompiler_object_inline_message_2276.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2264.childLanes = + (JSCompiler_object_inline_message_2276.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2267, + JSCompiler_object_inline_componentStack_2279, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2266 + JSCompiler_object_inline_stack_2278 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2265 + JSCompiler_object_inline_digest_2277 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2265 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2265) + ((JSCompiler_object_inline_digest_2277 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2277) ) { if (didSuspend) workInProgress.flags & 256 @@ -9025,94 +9064,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2264 = - JSCompiler_object_inline_stack_2266.fallback), - (JSCompiler_object_inline_digest_2265 = workInProgress.mode), - (JSCompiler_object_inline_stack_2266 = + (JSCompiler_object_inline_message_2276 = + JSCompiler_object_inline_stack_2278.fallback), + (JSCompiler_object_inline_digest_2277 = workInProgress.mode), + (JSCompiler_object_inline_stack_2278 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2266.children + children: JSCompiler_object_inline_stack_2278.children }, - JSCompiler_object_inline_digest_2265 + JSCompiler_object_inline_digest_2277 )), - (JSCompiler_object_inline_message_2264 = + (JSCompiler_object_inline_message_2276 = createFiberFromFragment( - JSCompiler_object_inline_message_2264, - JSCompiler_object_inline_digest_2265, + JSCompiler_object_inline_message_2276, + JSCompiler_object_inline_digest_2277, renderLanes, null )), - (JSCompiler_object_inline_message_2264.flags |= 2), - (JSCompiler_object_inline_stack_2266.return = workInProgress), - (JSCompiler_object_inline_message_2264.return = workInProgress), - (JSCompiler_object_inline_stack_2266.sibling = - JSCompiler_object_inline_message_2264), - (workInProgress.child = JSCompiler_object_inline_stack_2266), + (JSCompiler_object_inline_message_2276.flags |= 2), + (JSCompiler_object_inline_stack_2278.return = workInProgress), + (JSCompiler_object_inline_message_2276.return = workInProgress), + (JSCompiler_object_inline_stack_2278.sibling = + JSCompiler_object_inline_message_2276), + (workInProgress.child = JSCompiler_object_inline_stack_2278), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2266 = workInProgress.child), - (JSCompiler_object_inline_stack_2266.memoizedState = + (JSCompiler_object_inline_stack_2278 = workInProgress.child), + (JSCompiler_object_inline_stack_2278.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2266.childLanes = + (JSCompiler_object_inline_stack_2278.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2267, + JSCompiler_object_inline_componentStack_2279, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2264)); + (workInProgress = JSCompiler_object_inline_message_2276)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2265.data === + JSCompiler_object_inline_digest_2277.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2267 = - JSCompiler_object_inline_digest_2265.nextSibling && - JSCompiler_object_inline_digest_2265.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2267) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2267.dgst; - var message = JSCompiler_object_inline_componentStack_2267.msg; - instance = JSCompiler_object_inline_componentStack_2267.stck; + JSCompiler_object_inline_componentStack_2279 = + JSCompiler_object_inline_digest_2277.nextSibling && + JSCompiler_object_inline_digest_2277.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2279) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2279.dgst; + var message = JSCompiler_object_inline_componentStack_2279.msg; + instance = JSCompiler_object_inline_componentStack_2279.stck; var componentStack = - JSCompiler_object_inline_componentStack_2267.cstck; + JSCompiler_object_inline_componentStack_2279.cstck; } - JSCompiler_object_inline_message_2264 = message; - JSCompiler_object_inline_digest_2265 = JSCompiler_temp; - JSCompiler_object_inline_stack_2266 = instance; - JSCompiler_object_inline_componentStack_2267 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2265 && - ((JSCompiler_object_inline_message_2264 = - JSCompiler_object_inline_message_2264 - ? Error(JSCompiler_object_inline_message_2264) + JSCompiler_object_inline_message_2276 = message; + JSCompiler_object_inline_digest_2277 = JSCompiler_temp; + JSCompiler_object_inline_stack_2278 = instance; + JSCompiler_object_inline_componentStack_2279 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2277 && + ((JSCompiler_object_inline_message_2276 = + JSCompiler_object_inline_message_2276 + ? Error(JSCompiler_object_inline_message_2276) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2264.stack = - JSCompiler_object_inline_stack_2266 || ""), - (JSCompiler_object_inline_message_2264.digest = - JSCompiler_object_inline_digest_2265), - (JSCompiler_object_inline_componentStack_2267 = - void 0 === JSCompiler_object_inline_componentStack_2267 + (JSCompiler_object_inline_message_2276.stack = + JSCompiler_object_inline_stack_2278 || ""), + (JSCompiler_object_inline_message_2276.digest = + JSCompiler_object_inline_digest_2277), + (JSCompiler_object_inline_componentStack_2279 = + void 0 === JSCompiler_object_inline_componentStack_2279 ? null - : JSCompiler_object_inline_componentStack_2267), - "string" === typeof JSCompiler_object_inline_componentStack_2267 && + : JSCompiler_object_inline_componentStack_2279), + "string" === typeof JSCompiler_object_inline_componentStack_2279 && CapturedStacks.set( - JSCompiler_object_inline_message_2264, - JSCompiler_object_inline_componentStack_2267 + JSCompiler_object_inline_message_2276, + JSCompiler_object_inline_componentStack_2279 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2264, + value: JSCompiler_object_inline_message_2276, source: null, - stack: JSCompiler_object_inline_componentStack_2267 + stack: JSCompiler_object_inline_componentStack_2279 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9127,25 +9166,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2267 = + (JSCompiler_object_inline_componentStack_2279 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2267) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2279) ) { - JSCompiler_object_inline_componentStack_2267 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2267) { - JSCompiler_object_inline_stack_2266 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2266 & 42)) - JSCompiler_object_inline_stack_2266 = 1; + JSCompiler_object_inline_componentStack_2279 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2279) { + JSCompiler_object_inline_stack_2278 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2278 & 42)) + JSCompiler_object_inline_stack_2278 = 1; else - switch (JSCompiler_object_inline_stack_2266) { + switch (JSCompiler_object_inline_stack_2278) { case 2: - JSCompiler_object_inline_stack_2266 = 1; + JSCompiler_object_inline_stack_2278 = 1; break; case 8: - JSCompiler_object_inline_stack_2266 = 4; + JSCompiler_object_inline_stack_2278 = 4; break; case 32: - JSCompiler_object_inline_stack_2266 = 16; + JSCompiler_object_inline_stack_2278 = 16; break; case 128: case 256: @@ -9166,40 +9205,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2266 = 64; + JSCompiler_object_inline_stack_2278 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2266 = 134217728; + JSCompiler_object_inline_stack_2278 = 134217728; break; default: - JSCompiler_object_inline_stack_2266 = 0; + JSCompiler_object_inline_stack_2278 = 0; } - JSCompiler_object_inline_stack_2266 = + JSCompiler_object_inline_stack_2278 = 0 !== - (JSCompiler_object_inline_stack_2266 & - (JSCompiler_object_inline_componentStack_2267.suspendedLanes | + (JSCompiler_object_inline_stack_2278 & + (JSCompiler_object_inline_componentStack_2279.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2266; + : JSCompiler_object_inline_stack_2278; if ( - 0 !== JSCompiler_object_inline_stack_2266 && - JSCompiler_object_inline_stack_2266 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2278 && + JSCompiler_object_inline_stack_2278 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2266), + ((prevState.retryLane = JSCompiler_object_inline_stack_2278), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2266 + JSCompiler_object_inline_stack_2278 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2267, + JSCompiler_object_inline_componentStack_2279, current, - JSCompiler_object_inline_stack_2266 + JSCompiler_object_inline_stack_2278 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2265.data === + JSCompiler_object_inline_digest_2277.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9207,7 +9246,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2265.data === + JSCompiler_object_inline_digest_2277.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9215,12 +9254,12 @@ null, current )), - (JSCompiler_object_inline_digest_2265._reactRetry = + (JSCompiler_object_inline_digest_2277._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2265.nextSibling + JSCompiler_object_inline_digest_2277.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9238,54 +9277,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2266.children + JSCompiler_object_inline_stack_2278.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2264) + if (JSCompiler_object_inline_message_2276) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2264 = - JSCompiler_object_inline_stack_2266.fallback), - (JSCompiler_object_inline_digest_2265 = workInProgress.mode), + (JSCompiler_object_inline_message_2276 = + JSCompiler_object_inline_stack_2278.fallback), + (JSCompiler_object_inline_digest_2277 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2266 = createWorkInProgress( + (JSCompiler_object_inline_stack_2278 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2266.children + children: JSCompiler_object_inline_stack_2278.children } )), - (JSCompiler_object_inline_stack_2266.subtreeFlags = + (JSCompiler_object_inline_stack_2278.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2264 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2276 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2264 + JSCompiler_object_inline_message_2276 )) - : ((JSCompiler_object_inline_message_2264 = createFiberFromFragment( - JSCompiler_object_inline_message_2264, - JSCompiler_object_inline_digest_2265, + : ((JSCompiler_object_inline_message_2276 = createFiberFromFragment( + JSCompiler_object_inline_message_2276, + JSCompiler_object_inline_digest_2277, renderLanes, null )), - (JSCompiler_object_inline_message_2264.flags |= 2)), - (JSCompiler_object_inline_message_2264.return = workInProgress), - (JSCompiler_object_inline_stack_2266.return = workInProgress), - (JSCompiler_object_inline_stack_2266.sibling = - JSCompiler_object_inline_message_2264), - (workInProgress.child = JSCompiler_object_inline_stack_2266), - (JSCompiler_object_inline_stack_2266 = - JSCompiler_object_inline_message_2264), - (JSCompiler_object_inline_message_2264 = workInProgress.child), - (JSCompiler_object_inline_digest_2265 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2265 - ? (JSCompiler_object_inline_digest_2265 = + (JSCompiler_object_inline_message_2276.flags |= 2)), + (JSCompiler_object_inline_message_2276.return = workInProgress), + (JSCompiler_object_inline_stack_2278.return = workInProgress), + (JSCompiler_object_inline_stack_2278.sibling = + JSCompiler_object_inline_message_2276), + (workInProgress.child = JSCompiler_object_inline_stack_2278), + (JSCompiler_object_inline_stack_2278 = + JSCompiler_object_inline_message_2276), + (JSCompiler_object_inline_message_2276 = workInProgress.child), + (JSCompiler_object_inline_digest_2277 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2277 + ? (JSCompiler_object_inline_digest_2277 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2265.cachePool), + JSCompiler_object_inline_digest_2277.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9293,38 +9332,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2265 = { + (JSCompiler_object_inline_digest_2277 = { baseLanes: - JSCompiler_object_inline_digest_2265.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2277.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2264.memoizedState = - JSCompiler_object_inline_digest_2265), - (JSCompiler_object_inline_message_2264.childLanes = + (JSCompiler_object_inline_message_2276.memoizedState = + JSCompiler_object_inline_digest_2277), + (JSCompiler_object_inline_message_2276.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2267, + JSCompiler_object_inline_componentStack_2279, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2266 + JSCompiler_object_inline_stack_2278 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2266.children + children: JSCompiler_object_inline_stack_2278.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2267 = + ((JSCompiler_object_inline_componentStack_2279 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2267 + null === JSCompiler_object_inline_componentStack_2279 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2267.push(current)); + : JSCompiler_object_inline_componentStack_2279.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11242,7 +11281,12 @@ } else ref.current = null; } - function commitProfiler(finishedWork, current, commitTime, effectDuration) { + function commitProfiler( + finishedWork, + current, + commitStartTime, + effectDuration + ) { var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit; @@ -11256,20 +11300,20 @@ finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, - commitTime + commitStartTime ); "function" === typeof onCommit && onCommit( finishedWork.memoizedProps.id, current, effectDuration, - commitTime + commitStartTime ); } function commitProfilerPostCommitImpl( finishedWork, current, - commitTime, + commitStartTime, passiveEffectDuration ) { var _finishedWork$memoize2 = finishedWork.memoizedProps; @@ -11282,7 +11326,7 @@ finishedWork, current, passiveEffectDuration, - commitTime + commitStartTime ); } function commitHostMount(finishedWork) { @@ -11726,7 +11770,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration ); } catch (error) { @@ -12740,7 +12784,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, includeWorkInProgressEffects.effectDuration ); } catch (error) { @@ -12936,7 +12980,7 @@ commitProfilerPostCommitImpl, finishedWork, finishedWork.alternate, - commitTime, + commitStartTime, finishedRoot.passiveEffectDuration ); } catch (error) { @@ -14600,15 +14644,13 @@ root === workInProgressRoot ? workInProgressRootRenderLanes : 0 ); if (0 === lanes) return null; - var shouldTimeSlice = - 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout; - didTimeout = shouldTimeSlice + var exitStatus = (didTimeout = + 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout) ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes); - if (didTimeout !== RootInProgress) { - var renderWasConcurrent = shouldTimeSlice; + if (exitStatus !== RootInProgress) { do { - if (didTimeout === RootDidNotComplete) + if (exitStatus === RootDidNotComplete) markRootSuspended( root, lanes, @@ -14616,35 +14658,35 @@ workInProgressRootDidSkipSuspendedSiblings ); else { - shouldTimeSlice = root.current.alternate; + var finishedWork = root.current.alternate; if ( - renderWasConcurrent && - !isRenderConsistentWithExternalStores(shouldTimeSlice) + didTimeout && + !isRenderConsistentWithExternalStores(finishedWork) ) { - didTimeout = renderRootSync(root, lanes); - renderWasConcurrent = !1; + exitStatus = renderRootSync(root, lanes); + didTimeout = !1; continue; } - if (didTimeout === RootErrored) { - renderWasConcurrent = lanes; + if (exitStatus === RootErrored) { + didTimeout = lanes; var errorRetryLanes = getLanesToRetrySynchronouslyOnError( root, - renderWasConcurrent + didTimeout ); if ( 0 !== errorRetryLanes && ((lanes = errorRetryLanes), - (didTimeout = recoverFromConcurrentError( + (exitStatus = recoverFromConcurrentError( root, - renderWasConcurrent, + didTimeout, errorRetryLanes )), - (renderWasConcurrent = !1), - didTimeout !== RootErrored) + (didTimeout = !1), + exitStatus !== RootErrored) ) continue; } - if (didTimeout === RootFatalErrored) { + if (exitStatus === RootFatalErrored) { prepareFreshStack(root, 0); markRootSuspended( root, @@ -14655,16 +14697,16 @@ break; } a: { - renderWasConcurrent = root; - completeTime = now(); - switch (didTimeout) { + didTimeout = root; + errorRetryLanes = now$1(); + switch (exitStatus) { case RootInProgress: case RootFatalErrored: throw Error("Root did not complete. This is a bug in React."); case RootSuspendedWithDelay: if ((lanes & 4194176) === lanes) { markRootSuspended( - renderWasConcurrent, + didTimeout, lanes, workInProgressDeferredLane, workInProgressRootDidSkipSuspendedSiblings @@ -14681,39 +14723,42 @@ default: throw Error("Unknown root exit status."); } - renderWasConcurrent.finishedWork = shouldTimeSlice; - renderWasConcurrent.finishedLanes = lanes; + didTimeout.finishedWork = finishedWork; + didTimeout.finishedLanes = lanes; if (null !== ReactSharedInternals.actQueue) commitRoot( - renderWasConcurrent, + didTimeout, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + errorRetryLanes ); else { if ( (lanes & 62914560) === lanes && - ((didTimeout = + ((exitStatus = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1()), - 10 < didTimeout) + 10 < exitStatus) ) { markRootSuspended( - renderWasConcurrent, + didTimeout, lanes, workInProgressDeferredLane, workInProgressRootDidSkipSuspendedSiblings ); - if (0 !== getNextLanes(renderWasConcurrent, 0)) break a; - renderWasConcurrent.timeoutHandle = scheduleTimeout( + if (0 !== getNextLanes(didTimeout, 0)) break a; + didTimeout.timeoutHandle = scheduleTimeout( commitRootWhenReady.bind( null, - renderWasConcurrent, - shouldTimeSlice, + didTimeout, + finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, @@ -14721,15 +14766,18 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + THROTTLED_COMMIT, + renderStartTime, + errorRetryLanes ), - didTimeout + exitStatus ); break a; } commitRootWhenReady( - renderWasConcurrent, - shouldTimeSlice, + didTimeout, + finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, @@ -14737,7 +14785,10 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + IMMEDIATE_COMMIT, + renderStartTime, + errorRetryLanes ); } } @@ -14795,7 +14846,10 @@ spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -14818,7 +14872,8 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + SUSPENDED_COMMIT ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -14831,7 +14886,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -14940,7 +14998,7 @@ ensureRootIsScheduled(root), null ); - completeTime = now(); + exitStatus = now$1(); root.finishedWork = root.current.alternate; root.finishedLanes = lanes; commitRoot( @@ -14950,7 +15008,10 @@ workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + exitStatus ); ensureRootIsScheduled(root); return null; @@ -15580,7 +15641,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -15595,7 +15659,10 @@ previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -15611,7 +15678,10 @@ renderPriorityLevel, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { do flushPassiveEffects(); while (null !== rootWithPendingPassiveEffects); @@ -15621,6 +15691,9 @@ throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; + reusableComponentDevToolDetails.track = + getGroupNameOfHighestPriorityLane(lanes); + logRenderPhase(completedRenderStartTime, completedRenderEndTime); if (null === finishedWork) return null; 0 === lanes && console.error( @@ -15635,12 +15708,12 @@ root.callbackNode = null; root.callbackPriority = 0; root.cancelPendingCommit = null; - var remainingLanes = finishedWork.lanes | finishedWork.childLanes; - remainingLanes |= concurrentlyUpdatedLanes; + completedRenderStartTime = finishedWork.lanes | finishedWork.childLanes; + completedRenderStartTime |= concurrentlyUpdatedLanes; markRootFinished( root, lanes, - remainingLanes, + completedRenderStartTime, spawnedLane, updatedLanes, suspendedRetryLanes @@ -15654,12 +15727,18 @@ 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), - (pendingPassiveEffectsRemainingLanes = remainingLanes), + (pendingPassiveEffectsRemainingLanes = completedRenderStartTime), + (pendingPassiveEffectsRenderEndTime = completedRenderEndTime), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); + commitStartTime = now(); + suspendedCommitReason === SUSPENDED_COMMIT + ? logSuspendedCommitPhase(completedRenderEndTime, commitStartTime) + : suspendedCommitReason === THROTTLED_COMMIT && + logSuspenseThrottlePhase(completedRenderEndTime, commitStartTime); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? ((transitions = ReactSharedInternals.T), @@ -15669,7 +15748,6 @@ (updatedLanes = executionContext), (executionContext |= CommitContext), commitBeforeMutationEffects(root, finishedWork), - (commitTime = now()), commitMutationEffects(root, finishedWork, lanes), restoreSelection(selectionInformation, root.containerInfo), (_enabled = !!eventsEnabled), @@ -15680,16 +15758,19 @@ (executionContext = updatedLanes), (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) - : ((root.current = finishedWork), (commitTime = now())); + : (root.current = finishedWork); + commitEndTime = now(); + logCommitPhase(commitStartTime, commitEndTime); (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), (pendingPassiveEffectsLanes = lanes)) - : (releaseRootPooledCache(root, remainingLanes), + : (releaseRootPooledCache(root, completedRenderStartTime), (nestedPassiveUpdateCount = 0), (rootWithPassiveNestedUpdates = null)); - remainingLanes = root.pendingLanes; - 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); + completedRenderStartTime = root.pendingLanes; + 0 === completedRenderStartTime && + (legacyErrorBoundariesThatAlreadyFailed = null); transitions || commitDoubleInvokeEffectsInDEV(root); onCommitRoot$1(finishedWork.stateNode, renderPriorityLevel); isDevToolsPresent && root.memoizedUpdaters.clear(); @@ -15701,19 +15782,19 @@ finishedWork < recoverableErrors.length; finishedWork++ ) - (remainingLanes = recoverableErrors[finishedWork]), - (spawnedLane = makeErrorInfo(remainingLanes.stack)), + (completedRenderStartTime = recoverableErrors[finishedWork]), + (spawnedLane = makeErrorInfo(completedRenderStartTime.stack)), runWithFiberInDEV( - remainingLanes.source, + completedRenderStartTime.source, renderPriorityLevel, - remainingLanes.value, + completedRenderStartTime.value, spawnedLane ); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); - remainingLanes = root.pendingLanes; + completedRenderStartTime = root.pendingLanes; didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate || - (0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42)) + (0 !== (lanes & 4194218) && 0 !== (completedRenderStartTime & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -15740,7 +15821,7 @@ null != remainingLanes && ((root.pooledCache = null), releaseCache(remainingLanes))); } - function flushPassiveEffects() { + function flushPassiveEffects(wasDelayedCommit) { if (null !== rootWithPendingPassiveEffects) { var root = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; @@ -15758,10 +15839,10 @@ if (null === rootWithPendingPassiveEffects) var JSCompiler_inline_result = !1; else { - priority = pendingPassiveTransitions; + var transitions = pendingPassiveTransitions; pendingPassiveTransitions = null; - var root$jscomp$0 = rootWithPendingPassiveEffects, - lanes = pendingPassiveEffectsLanes; + priority = rootWithPendingPassiveEffects; + var lanes = pendingPassiveEffectsLanes; rootWithPendingPassiveEffects = null; pendingPassiveEffectsLanes = 0; if ( @@ -15772,40 +15853,56 @@ "Cannot flush passive effects while already rendering." ); reusableComponentDevToolDetails.track = - lanes & 63 - ? "Blocking" - : lanes & 4194240 - ? "Transition" - : lanes & 62914560 - ? "Suspense" - : lanes & 2080374784 - ? "Idle" - : "Other"; + getGroupNameOfHighestPriorityLane(lanes); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - var prevExecutionContext = executionContext; + var passiveEffectStartTime = 0; + passiveEffectStartTime = now$1(); + var startTime = commitEndTime, + endTime = passiveEffectStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure( + "Waiting for Paint", + reusableComponentOptions + )); + startTime = executionContext; executionContext |= CommitContext; - var finishedWork = root$jscomp$0.current; + var finishedWork = priority.current; resetComponentEffectTimers(); commitPassiveUnmountOnFiber(finishedWork); - var finishedWork$jscomp$0 = root$jscomp$0.current; + var finishedWork$jscomp$0 = priority.current; + finishedWork = pendingPassiveEffectsRenderEndTime; resetComponentEffectTimers(); commitPassiveMountOnFiber( - root$jscomp$0, + priority, finishedWork$jscomp$0, lanes, - priority, - completeTime + transitions, + finishedWork ); - commitDoubleInvokeEffectsInDEV(root$jscomp$0); - executionContext = prevExecutionContext; - finalizeRender(lanes, now$1()); + commitDoubleInvokeEffectsInDEV(priority); + executionContext = startTime; + var passiveEffectsEndTime = now$1(); + wasDelayedCommit && + ((wasDelayedCommit = passiveEffectStartTime), + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = wasDelayedCommit), + (reusableComponentOptions.end = passiveEffectsEndTime), + performance.measure( + "Remaining Effects", + reusableComponentOptions + ))); + finalizeRender(lanes, passiveEffectsEndTime); flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects - ? root$jscomp$0 === rootWithPassiveNestedUpdates + ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ : ((nestedPassiveUpdateCount = 0), - (rootWithPassiveNestedUpdates = root$jscomp$0)) + (rootWithPassiveNestedUpdates = priority)) : (nestedPassiveUpdateCount = 0); didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1; @@ -15814,7 +15911,7 @@ "function" === typeof injectedHook.onPostCommitFiberRoot ) try { - injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0); + injectedHook.onPostCommitFiberRoot(rendererID, priority); } catch (err) { hasLoggedError || ((hasLoggedError = !0), @@ -15823,7 +15920,7 @@ err )); } - var stateNode = root$jscomp$0.current.stateNode; + var stateNode = priority.current.stateNode; stateNode.effectDuration = 0; stateNode.passiveEffectDuration = 0; JSCompiler_inline_result = !0; @@ -22546,8 +22643,8 @@ NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, renderStartTime = -0, - completeTime = -0, - commitTime = -0, + commitStartTime = -0, + commitEndTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, @@ -24377,6 +24474,7 @@ rootWithPendingPassiveEffects = null, pendingPassiveEffectsLanes = 0, pendingPassiveEffectsRemainingLanes = 0, + pendingPassiveEffectsRenderEndTime = -0, pendingPassiveTransitions = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, @@ -24387,6 +24485,9 @@ nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, + IMMEDIATE_COMMIT = 0, + SUSPENDED_COMMIT = 1, + THROTTLED_COMMIT = 2, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1; var didWarnAboutUpdateInRenderForAnotherComponent = new Set(); @@ -24931,11 +25032,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24972,11 +25073,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25448,7 +25549,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js index a502438334dff..920680902c929 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js @@ -872,6 +872,17 @@ function movePendingFibersToMemoized(root, lanes) { lanes &= ~root; } } +function getGroupNameOfHighestPriorityLane(lanes) { + return lanes & 63 + ? "Blocking" + : lanes & 4194240 + ? "Transition" + : lanes & 62914560 + ? "Suspense" + : lanes & 2080374784 + ? "Idle" + : "Other"; +} function lanesToEventPriority(lanes) { lanes &= -lanes; return 2 < lanes @@ -2469,6 +2480,34 @@ function logComponentEffect(fiber, startTime, endTime, selfTime) { (reusableComponentOptions.end = endTime), performance.measure(fiber, reusableComponentOptions)); } +function logRenderPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Render", reusableComponentOptions)); +} +function logSuspenseThrottlePhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Throttled", reusableComponentOptions)); +} +function logSuspendedCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Suspended", reusableComponentOptions)); +} +function logCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Commit", reusableComponentOptions)); +} var concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; @@ -2549,8 +2588,8 @@ function getRootForUpdatedFiber(sourceFiber) { var emptyContextObject = {}, now = Scheduler.unstable_now, renderStartTime = -0, - completeTime = -0, - commitTime = -0, + commitStartTime = -0, + commitEndTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, @@ -8073,7 +8112,7 @@ function safelyDetachRef(current, nearestMountedAncestor) { function commitProfilerUpdate( finishedWork, current, - commitTime, + commitStartTime, effectDuration ) { try { @@ -8090,14 +8129,14 @@ function commitProfilerUpdate( finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, - commitTime + commitStartTime ); "function" === typeof onCommit && onCommit( finishedWork.memoizedProps.id, current, effectDuration, - commitTime + commitStartTime ); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); @@ -8493,7 +8532,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { commitProfilerUpdate( finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -9460,7 +9499,7 @@ function recursivelyTraverseReappearLayoutEffects( commitProfilerUpdate( finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration )) : recursivelyTraverseReappearLayoutEffects( @@ -9639,7 +9678,7 @@ function commitPassiveMountOnFiber( id, phase, finishedRoot.passiveEffectDuration, - commitTime + commitStartTime ); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); @@ -10992,6 +11031,7 @@ var DefaultAsyncDispatcher = { rootWithPendingPassiveEffects = null, pendingPassiveEffectsLanes = 0, pendingPassiveEffectsRemainingLanes = 0, + pendingPassiveEffectsRenderEndTime = -0, pendingPassiveTransitions = null, nestedUpdateCount = 0, rootWithNestedUpdates = null; @@ -11107,7 +11147,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { } a: { renderWasConcurrent = root; - completeTime = now(); + errorRetryLanes = now$1(); switch (exitStatus) { case 0: case 1: @@ -11158,7 +11198,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 2, + renderStartTime, + errorRetryLanes ), exitStatus ); @@ -11174,7 +11217,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 0, + renderStartTime, + errorRetryLanes ); } } @@ -11229,7 +11275,10 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -11248,7 +11297,8 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + 1 ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -11261,7 +11311,10 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -11366,7 +11419,7 @@ function performSyncWorkOnRoot(root, lanes) { ensureRootIsScheduled(root), null ); - completeTime = now(); + exitStatus = now$1(); root.finishedWork = root.current.alternate; root.finishedLanes = lanes; commitRoot( @@ -11376,7 +11429,10 @@ function performSyncWorkOnRoot(root, lanes) { workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + 0, + renderStartTime, + exitStatus ); ensureRootIsScheduled(root); return null; @@ -11926,7 +11982,10 @@ function commitRoot( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -11941,7 +12000,10 @@ function commitRoot( previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -11957,13 +12019,19 @@ function commitRootImpl( renderPriorityLevel, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { do flushPassiveEffects(); while (null !== rootWithPendingPassiveEffects); if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327)); var finishedWork = root.finishedWork, lanes = root.finishedLanes; + reusableComponentDevToolDetails.track = + getGroupNameOfHighestPriorityLane(lanes); + logRenderPhase(completedRenderStartTime, completedRenderEndTime); if (null === finishedWork) return null; root.finishedWork = null; root.finishedLanes = 0; @@ -11971,12 +12039,12 @@ function commitRootImpl( root.callbackNode = null; root.callbackPriority = 0; root.cancelPendingCommit = null; - var remainingLanes = finishedWork.lanes | finishedWork.childLanes; - remainingLanes |= concurrentlyUpdatedLanes; + completedRenderStartTime = finishedWork.lanes | finishedWork.childLanes; + completedRenderStartTime |= concurrentlyUpdatedLanes; markRootFinished( root, lanes, - remainingLanes, + completedRenderStartTime, spawnedLane, updatedLanes, suspendedRetryLanes @@ -11990,12 +12058,18 @@ function commitRootImpl( 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), - (pendingPassiveEffectsRemainingLanes = remainingLanes), + (pendingPassiveEffectsRemainingLanes = completedRenderStartTime), + (pendingPassiveEffectsRenderEndTime = completedRenderEndTime), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); + commitStartTime = now(); + 1 === suspendedCommitReason + ? logSuspendedCommitPhase(completedRenderEndTime, commitStartTime) + : 2 === suspendedCommitReason && + logSuspenseThrottlePhase(completedRenderEndTime, commitStartTime); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? ((transitions = ReactSharedInternals.T), @@ -12005,7 +12079,6 @@ function commitRootImpl( (updatedLanes = executionContext), (executionContext |= 4), commitBeforeMutationEffects(root, finishedWork), - (commitTime = now()), commitMutationEffects(root, finishedWork, lanes), restoreSelection(selectionInformation, root.containerInfo), (_enabled = !!eventsEnabled), @@ -12016,14 +12089,17 @@ function commitRootImpl( (executionContext = updatedLanes), (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) - : ((root.current = finishedWork), (commitTime = now())); + : (root.current = finishedWork); + commitEndTime = now(); + logCommitPhase(commitStartTime, commitEndTime); (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), (pendingPassiveEffectsLanes = lanes)) - : releaseRootPooledCache(root, remainingLanes); - remainingLanes = root.pendingLanes; - 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); + : releaseRootPooledCache(root, completedRenderStartTime); + completedRenderStartTime = root.pendingLanes; + 0 === completedRenderStartTime && + (legacyErrorBoundariesThatAlreadyFailed = null); onCommitRoot(finishedWork.stateNode, renderPriorityLevel); isDevToolsPresent && root.memoizedUpdaters.clear(); ensureRootIsScheduled(root); @@ -12033,15 +12109,15 @@ function commitRootImpl( finishedWork < recoverableErrors.length; finishedWork++ ) - (remainingLanes = recoverableErrors[finishedWork]), - renderPriorityLevel(remainingLanes.value, { - componentStack: remainingLanes.stack + (completedRenderStartTime = recoverableErrors[finishedWork]), + renderPriorityLevel(completedRenderStartTime.value, { + componentStack: completedRenderStartTime.stack }); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); - remainingLanes = root.pendingLanes; + completedRenderStartTime = root.pendingLanes; didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate || - (0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42)) + (0 !== (lanes & 4194218) && 0 !== (completedRenderStartTime & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -12057,7 +12133,7 @@ function releaseRootPooledCache(root, remainingLanes) { null != remainingLanes && ((root.pooledCache = null), releaseCache(remainingLanes))); } -function flushPassiveEffects() { +function flushPassiveEffects(wasDelayedCommit) { if (null !== rootWithPendingPassiveEffects) { var root$183 = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; @@ -12071,49 +12147,62 @@ function flushPassiveEffects() { if (null === rootWithPendingPassiveEffects) var JSCompiler_inline_result = !1; else { - renderPriority = pendingPassiveTransitions; + var transitions = pendingPassiveTransitions; pendingPassiveTransitions = null; - var root = rootWithPendingPassiveEffects, - lanes = pendingPassiveEffectsLanes; + renderPriority = rootWithPendingPassiveEffects; + var lanes = pendingPassiveEffectsLanes; rootWithPendingPassiveEffects = null; pendingPassiveEffectsLanes = 0; if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331)); reusableComponentDevToolDetails.track = - lanes & 63 - ? "Blocking" - : lanes & 4194240 - ? "Transition" - : lanes & 62914560 - ? "Suspense" - : lanes & 2080374784 - ? "Idle" - : "Other"; - var prevExecutionContext = executionContext; + getGroupNameOfHighestPriorityLane(lanes); + var passiveEffectStartTime = 0; + passiveEffectStartTime = now$1(); + var startTime = commitEndTime, + endTime = passiveEffectStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Waiting for Paint", reusableComponentOptions)); + startTime = executionContext; executionContext |= 4; - var finishedWork = root.current; + var finishedWork = renderPriority.current; resetComponentEffectTimers(); commitPassiveUnmountOnFiber(finishedWork); - var finishedWork$jscomp$0 = root.current; + var finishedWork$jscomp$0 = renderPriority.current; + finishedWork = pendingPassiveEffectsRenderEndTime; resetComponentEffectTimers(); commitPassiveMountOnFiber( - root, + renderPriority, finishedWork$jscomp$0, lanes, - renderPriority, - completeTime + transitions, + finishedWork ); - executionContext = prevExecutionContext; - finalizeRender(lanes, now$1()); + executionContext = startTime; + var passiveEffectsEndTime = now$1(); + wasDelayedCommit && + ((wasDelayedCommit = passiveEffectStartTime), + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = wasDelayedCommit), + (reusableComponentOptions.end = passiveEffectsEndTime), + performance.measure( + "Remaining Effects", + reusableComponentOptions + ))); + finalizeRender(lanes, passiveEffectsEndTime); flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot ) try { - injectedHook.onPostCommitFiberRoot(rendererID, root); + injectedHook.onPostCommitFiberRoot(rendererID, renderPriority); } catch (err) {} - var stateNode = root.current.stateNode; + var stateNode = renderPriority.current.stateNode; stateNode.effectDuration = 0; stateNode.passiveEffectDuration = 0; JSCompiler_inline_result = !0; @@ -12529,20 +12618,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1476 = 0; - i$jscomp$inline_1476 < simpleEventPluginEvents.length; - i$jscomp$inline_1476++ + var i$jscomp$inline_1480 = 0; + i$jscomp$inline_1480 < simpleEventPluginEvents.length; + i$jscomp$inline_1480++ ) { - var eventName$jscomp$inline_1477 = - simpleEventPluginEvents[i$jscomp$inline_1476], - domEventName$jscomp$inline_1478 = - eventName$jscomp$inline_1477.toLowerCase(), - capitalizedEvent$jscomp$inline_1479 = - eventName$jscomp$inline_1477[0].toUpperCase() + - eventName$jscomp$inline_1477.slice(1); + var eventName$jscomp$inline_1481 = + simpleEventPluginEvents[i$jscomp$inline_1480], + domEventName$jscomp$inline_1482 = + eventName$jscomp$inline_1481.toLowerCase(), + capitalizedEvent$jscomp$inline_1483 = + eventName$jscomp$inline_1481[0].toUpperCase() + + eventName$jscomp$inline_1481.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1478, - "on" + capitalizedEvent$jscomp$inline_1479 + domEventName$jscomp$inline_1482, + "on" + capitalizedEvent$jscomp$inline_1483 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16008,16 +16097,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1723 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1727 = React.version; if ( - "19.0.0-experimental-5d19e1c8-20240923" !== - isomorphicReactPackageVersion$jscomp$inline_1723 + "19.0.0-experimental-04bd67a4-20240924" !== + isomorphicReactPackageVersion$jscomp$inline_1727 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1723, - "19.0.0-experimental-5d19e1c8-20240923" + isomorphicReactPackageVersion$jscomp$inline_1727, + "19.0.0-experimental-04bd67a4-20240924" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16037,25 +16126,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2148 = { +var internals$jscomp$inline_2160 = { bundleType: 0, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2149 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2161 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2149.isDisabled && - hook$jscomp$inline_2149.supportsFiber + !hook$jscomp$inline_2161.isDisabled && + hook$jscomp$inline_2161.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2149.inject( - internals$jscomp$inline_2148 + (rendererID = hook$jscomp$inline_2161.inject( + internals$jscomp$inline_2160 )), - (injectedHook = hook$jscomp$inline_2149); + (injectedHook = hook$jscomp$inline_2161); } catch (err) {} } function noop() {} @@ -16308,7 +16397,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index c0b38c953bd05..a7394484ce188 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -9288,5 +9288,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index bb2264c70d295..fa3cb136e8883 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -6055,4 +6055,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js index ef98ea7aa1b29..796ab7917f1b9 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js @@ -9288,5 +9288,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js index 6843b129d9878..57d6f91c2100f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js @@ -6147,4 +6147,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js index 78e0dbd6ba74a..2f35a4f3e3073 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js @@ -8188,11 +8188,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -9972,5 +9972,5 @@ startWork(request); }); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js index f756ba4186d75..7d48d9219b642 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js @@ -6586,12 +6586,12 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.0.0-experimental-5d19e1c8-20240923" + "19.0.0-experimental-04bd67a4-20240924" ) ); } @@ -6846,4 +6846,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js index 790c63185fc7a..f219081b52955 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js @@ -6068,13 +6068,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_782 = React.version; if ( - "19.0.0-experimental-5d19e1c8-20240923" !== + "19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion$jscomp$inline_782 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_782 + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6162,4 +6162,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js index 51aec86d7759e..d6e899b85eb4b 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js @@ -8211,11 +8211,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -10002,5 +10002,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js index f3c1b252891b5..781ccbf223f33 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js @@ -6694,11 +6694,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6963,4 +6963,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js index 9daa9118394d6..de7aba47ab109 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js @@ -8069,11 +8069,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -9846,5 +9846,5 @@ } }; }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js index fc4a50306f9a0..10338f3be396f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js @@ -6567,11 +6567,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6822,4 +6822,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) { } }; }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js index a4c8003012743..7b58f201742e2 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js @@ -1236,6 +1236,17 @@ lanes &= ~root; } } + function getGroupNameOfHighestPriorityLane(lanes) { + return lanes & 63 + ? "Blocking" + : lanes & 4194240 + ? "Transition" + : lanes & 62914560 + ? "Suspense" + : lanes & 2080374784 + ? "Idle" + : "Other"; + } function lanesToEventPriority(lanes) { lanes &= -lanes; return 0 !== DiscreteEventPriority && DiscreteEventPriority < lanes @@ -3815,6 +3826,34 @@ (reusableComponentOptions.end = endTime), performance.measure(fiber, reusableComponentOptions)); } + function logRenderPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Render", reusableComponentOptions)); + } + function logSuspenseThrottlePhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Throttled", reusableComponentOptions)); + } + function logSuspendedCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Suspended", reusableComponentOptions)); + } + function logCommitPhase(startTime, endTime) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure("Commit", reusableComponentOptions)); + } function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, @@ -8893,33 +8932,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2296; - var JSCompiler_object_inline_stack_2295 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2308; + var JSCompiler_object_inline_stack_2307 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2293 = !1; + var JSCompiler_object_inline_message_2305 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2296 = didSuspend) || - (JSCompiler_object_inline_componentStack_2296 = + (JSCompiler_object_inline_componentStack_2308 = didSuspend) || + (JSCompiler_object_inline_componentStack_2308 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2296 && - ((JSCompiler_object_inline_message_2293 = !0), + JSCompiler_object_inline_componentStack_2308 && + ((JSCompiler_object_inline_message_2305 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2296 = + JSCompiler_object_inline_componentStack_2308 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2293 + JSCompiler_object_inline_message_2305 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2294 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2306 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2294)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2306)) { c: { - var instance = JSCompiler_object_inline_digest_2294; + var instance = JSCompiler_object_inline_digest_2306; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8960,19 +8999,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2294 + JSCompiler_object_inline_digest_2306 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2294 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2306 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2294 && - ((JSCompiler_object_inline_digest_2294 = - JSCompiler_object_inline_digest_2294.dehydrated), - null !== JSCompiler_object_inline_digest_2294) + null !== JSCompiler_object_inline_digest_2306 && + ((JSCompiler_object_inline_digest_2306 = + JSCompiler_object_inline_digest_2306.dehydrated), + null !== JSCompiler_object_inline_digest_2306) ) return ( - JSCompiler_object_inline_digest_2294.data === + JSCompiler_object_inline_digest_2306.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8980,68 +9019,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2294 = - JSCompiler_object_inline_stack_2295.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2295.fallback; - if (JSCompiler_object_inline_message_2293) + JSCompiler_object_inline_digest_2306 = + JSCompiler_object_inline_stack_2307.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2307.fallback; + if (JSCompiler_object_inline_message_2305) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2295 = + (JSCompiler_object_inline_stack_2307 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2294, + JSCompiler_object_inline_digest_2306, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2293 = workInProgress.child), - (JSCompiler_object_inline_message_2293.memoizedState = + (JSCompiler_object_inline_message_2305 = workInProgress.child), + (JSCompiler_object_inline_message_2305.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2293.childLanes = + (JSCompiler_object_inline_message_2305.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2296, + JSCompiler_object_inline_componentStack_2308, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2295 + JSCompiler_object_inline_stack_2307 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2295.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2307.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2295 = + (JSCompiler_object_inline_stack_2307 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2294, + JSCompiler_object_inline_digest_2306, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2293 = workInProgress.child), - (JSCompiler_object_inline_message_2293.memoizedState = + (JSCompiler_object_inline_message_2305 = workInProgress.child), + (JSCompiler_object_inline_message_2305.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2293.childLanes = + (JSCompiler_object_inline_message_2305.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2296, + JSCompiler_object_inline_componentStack_2308, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2295 + JSCompiler_object_inline_stack_2307 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2294 + JSCompiler_object_inline_digest_2306 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2294 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2294) + ((JSCompiler_object_inline_digest_2306 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2306) ) { if (didSuspend) workInProgress.flags & 256 @@ -9058,94 +9097,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2293 = - JSCompiler_object_inline_stack_2295.fallback), - (JSCompiler_object_inline_digest_2294 = workInProgress.mode), - (JSCompiler_object_inline_stack_2295 = + (JSCompiler_object_inline_message_2305 = + JSCompiler_object_inline_stack_2307.fallback), + (JSCompiler_object_inline_digest_2306 = workInProgress.mode), + (JSCompiler_object_inline_stack_2307 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2295.children + children: JSCompiler_object_inline_stack_2307.children }, - JSCompiler_object_inline_digest_2294 + JSCompiler_object_inline_digest_2306 )), - (JSCompiler_object_inline_message_2293 = + (JSCompiler_object_inline_message_2305 = createFiberFromFragment( - JSCompiler_object_inline_message_2293, - JSCompiler_object_inline_digest_2294, + JSCompiler_object_inline_message_2305, + JSCompiler_object_inline_digest_2306, renderLanes, null )), - (JSCompiler_object_inline_message_2293.flags |= 2), - (JSCompiler_object_inline_stack_2295.return = workInProgress), - (JSCompiler_object_inline_message_2293.return = workInProgress), - (JSCompiler_object_inline_stack_2295.sibling = - JSCompiler_object_inline_message_2293), - (workInProgress.child = JSCompiler_object_inline_stack_2295), + (JSCompiler_object_inline_message_2305.flags |= 2), + (JSCompiler_object_inline_stack_2307.return = workInProgress), + (JSCompiler_object_inline_message_2305.return = workInProgress), + (JSCompiler_object_inline_stack_2307.sibling = + JSCompiler_object_inline_message_2305), + (workInProgress.child = JSCompiler_object_inline_stack_2307), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2295 = workInProgress.child), - (JSCompiler_object_inline_stack_2295.memoizedState = + (JSCompiler_object_inline_stack_2307 = workInProgress.child), + (JSCompiler_object_inline_stack_2307.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2295.childLanes = + (JSCompiler_object_inline_stack_2307.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2296, + JSCompiler_object_inline_componentStack_2308, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2293)); + (workInProgress = JSCompiler_object_inline_message_2305)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2294.data === + JSCompiler_object_inline_digest_2306.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2296 = - JSCompiler_object_inline_digest_2294.nextSibling && - JSCompiler_object_inline_digest_2294.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2296) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2296.dgst; - var message = JSCompiler_object_inline_componentStack_2296.msg; - instance = JSCompiler_object_inline_componentStack_2296.stck; + JSCompiler_object_inline_componentStack_2308 = + JSCompiler_object_inline_digest_2306.nextSibling && + JSCompiler_object_inline_digest_2306.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2308) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2308.dgst; + var message = JSCompiler_object_inline_componentStack_2308.msg; + instance = JSCompiler_object_inline_componentStack_2308.stck; var componentStack = - JSCompiler_object_inline_componentStack_2296.cstck; + JSCompiler_object_inline_componentStack_2308.cstck; } - JSCompiler_object_inline_message_2293 = message; - JSCompiler_object_inline_digest_2294 = JSCompiler_temp; - JSCompiler_object_inline_stack_2295 = instance; - JSCompiler_object_inline_componentStack_2296 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2294 && - ((JSCompiler_object_inline_message_2293 = - JSCompiler_object_inline_message_2293 - ? Error(JSCompiler_object_inline_message_2293) + JSCompiler_object_inline_message_2305 = message; + JSCompiler_object_inline_digest_2306 = JSCompiler_temp; + JSCompiler_object_inline_stack_2307 = instance; + JSCompiler_object_inline_componentStack_2308 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2306 && + ((JSCompiler_object_inline_message_2305 = + JSCompiler_object_inline_message_2305 + ? Error(JSCompiler_object_inline_message_2305) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2293.stack = - JSCompiler_object_inline_stack_2295 || ""), - (JSCompiler_object_inline_message_2293.digest = - JSCompiler_object_inline_digest_2294), - (JSCompiler_object_inline_componentStack_2296 = - void 0 === JSCompiler_object_inline_componentStack_2296 + (JSCompiler_object_inline_message_2305.stack = + JSCompiler_object_inline_stack_2307 || ""), + (JSCompiler_object_inline_message_2305.digest = + JSCompiler_object_inline_digest_2306), + (JSCompiler_object_inline_componentStack_2308 = + void 0 === JSCompiler_object_inline_componentStack_2308 ? null - : JSCompiler_object_inline_componentStack_2296), - "string" === typeof JSCompiler_object_inline_componentStack_2296 && + : JSCompiler_object_inline_componentStack_2308), + "string" === typeof JSCompiler_object_inline_componentStack_2308 && CapturedStacks.set( - JSCompiler_object_inline_message_2293, - JSCompiler_object_inline_componentStack_2296 + JSCompiler_object_inline_message_2305, + JSCompiler_object_inline_componentStack_2308 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2293, + value: JSCompiler_object_inline_message_2305, source: null, - stack: JSCompiler_object_inline_componentStack_2296 + stack: JSCompiler_object_inline_componentStack_2308 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9160,25 +9199,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2296 = + (JSCompiler_object_inline_componentStack_2308 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2296) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2308) ) { - JSCompiler_object_inline_componentStack_2296 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2296) { - JSCompiler_object_inline_stack_2295 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2295 & 42)) - JSCompiler_object_inline_stack_2295 = 1; + JSCompiler_object_inline_componentStack_2308 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2308) { + JSCompiler_object_inline_stack_2307 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2307 & 42)) + JSCompiler_object_inline_stack_2307 = 1; else - switch (JSCompiler_object_inline_stack_2295) { + switch (JSCompiler_object_inline_stack_2307) { case 2: - JSCompiler_object_inline_stack_2295 = 1; + JSCompiler_object_inline_stack_2307 = 1; break; case 8: - JSCompiler_object_inline_stack_2295 = 4; + JSCompiler_object_inline_stack_2307 = 4; break; case 32: - JSCompiler_object_inline_stack_2295 = 16; + JSCompiler_object_inline_stack_2307 = 16; break; case 128: case 256: @@ -9199,40 +9238,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2295 = 64; + JSCompiler_object_inline_stack_2307 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2295 = 134217728; + JSCompiler_object_inline_stack_2307 = 134217728; break; default: - JSCompiler_object_inline_stack_2295 = 0; + JSCompiler_object_inline_stack_2307 = 0; } - JSCompiler_object_inline_stack_2295 = + JSCompiler_object_inline_stack_2307 = 0 !== - (JSCompiler_object_inline_stack_2295 & - (JSCompiler_object_inline_componentStack_2296.suspendedLanes | + (JSCompiler_object_inline_stack_2307 & + (JSCompiler_object_inline_componentStack_2308.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2295; + : JSCompiler_object_inline_stack_2307; if ( - 0 !== JSCompiler_object_inline_stack_2295 && - JSCompiler_object_inline_stack_2295 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2307 && + JSCompiler_object_inline_stack_2307 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2295), + ((prevState.retryLane = JSCompiler_object_inline_stack_2307), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2295 + JSCompiler_object_inline_stack_2307 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2296, + JSCompiler_object_inline_componentStack_2308, current, - JSCompiler_object_inline_stack_2295 + JSCompiler_object_inline_stack_2307 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2294.data === + JSCompiler_object_inline_digest_2306.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9240,7 +9279,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2294.data === + JSCompiler_object_inline_digest_2306.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9248,12 +9287,12 @@ null, current )), - (JSCompiler_object_inline_digest_2294._reactRetry = + (JSCompiler_object_inline_digest_2306._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2294.nextSibling + JSCompiler_object_inline_digest_2306.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9271,54 +9310,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2295.children + JSCompiler_object_inline_stack_2307.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2293) + if (JSCompiler_object_inline_message_2305) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2293 = - JSCompiler_object_inline_stack_2295.fallback), - (JSCompiler_object_inline_digest_2294 = workInProgress.mode), + (JSCompiler_object_inline_message_2305 = + JSCompiler_object_inline_stack_2307.fallback), + (JSCompiler_object_inline_digest_2306 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2295 = createWorkInProgress( + (JSCompiler_object_inline_stack_2307 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2295.children + children: JSCompiler_object_inline_stack_2307.children } )), - (JSCompiler_object_inline_stack_2295.subtreeFlags = + (JSCompiler_object_inline_stack_2307.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2293 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2305 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2293 + JSCompiler_object_inline_message_2305 )) - : ((JSCompiler_object_inline_message_2293 = createFiberFromFragment( - JSCompiler_object_inline_message_2293, - JSCompiler_object_inline_digest_2294, + : ((JSCompiler_object_inline_message_2305 = createFiberFromFragment( + JSCompiler_object_inline_message_2305, + JSCompiler_object_inline_digest_2306, renderLanes, null )), - (JSCompiler_object_inline_message_2293.flags |= 2)), - (JSCompiler_object_inline_message_2293.return = workInProgress), - (JSCompiler_object_inline_stack_2295.return = workInProgress), - (JSCompiler_object_inline_stack_2295.sibling = - JSCompiler_object_inline_message_2293), - (workInProgress.child = JSCompiler_object_inline_stack_2295), - (JSCompiler_object_inline_stack_2295 = - JSCompiler_object_inline_message_2293), - (JSCompiler_object_inline_message_2293 = workInProgress.child), - (JSCompiler_object_inline_digest_2294 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2294 - ? (JSCompiler_object_inline_digest_2294 = + (JSCompiler_object_inline_message_2305.flags |= 2)), + (JSCompiler_object_inline_message_2305.return = workInProgress), + (JSCompiler_object_inline_stack_2307.return = workInProgress), + (JSCompiler_object_inline_stack_2307.sibling = + JSCompiler_object_inline_message_2305), + (workInProgress.child = JSCompiler_object_inline_stack_2307), + (JSCompiler_object_inline_stack_2307 = + JSCompiler_object_inline_message_2305), + (JSCompiler_object_inline_message_2305 = workInProgress.child), + (JSCompiler_object_inline_digest_2306 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2306 + ? (JSCompiler_object_inline_digest_2306 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2294.cachePool), + JSCompiler_object_inline_digest_2306.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9326,38 +9365,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2294 = { + (JSCompiler_object_inline_digest_2306 = { baseLanes: - JSCompiler_object_inline_digest_2294.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2306.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2293.memoizedState = - JSCompiler_object_inline_digest_2294), - (JSCompiler_object_inline_message_2293.childLanes = + (JSCompiler_object_inline_message_2305.memoizedState = + JSCompiler_object_inline_digest_2306), + (JSCompiler_object_inline_message_2305.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2296, + JSCompiler_object_inline_componentStack_2308, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2295 + JSCompiler_object_inline_stack_2307 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2295.children + children: JSCompiler_object_inline_stack_2307.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2296 = + ((JSCompiler_object_inline_componentStack_2308 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2296 + null === JSCompiler_object_inline_componentStack_2308 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2296.push(current)); + : JSCompiler_object_inline_componentStack_2308.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11275,7 +11314,12 @@ } else ref.current = null; } - function commitProfiler(finishedWork, current, commitTime, effectDuration) { + function commitProfiler( + finishedWork, + current, + commitStartTime, + effectDuration + ) { var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit; @@ -11289,20 +11333,20 @@ finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, - commitTime + commitStartTime ); "function" === typeof onCommit && onCommit( finishedWork.memoizedProps.id, current, effectDuration, - commitTime + commitStartTime ); } function commitProfilerPostCommitImpl( finishedWork, current, - commitTime, + commitStartTime, passiveEffectDuration ) { var _finishedWork$memoize2 = finishedWork.memoizedProps; @@ -11315,7 +11359,7 @@ finishedWork, current, passiveEffectDuration, - commitTime + commitStartTime ); } function commitHostMount(finishedWork) { @@ -11759,7 +11803,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration ); } catch (error) { @@ -12773,7 +12817,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, includeWorkInProgressEffects.effectDuration ); } catch (error) { @@ -12969,7 +13013,7 @@ commitProfilerPostCommitImpl, finishedWork, finishedWork.alternate, - commitTime, + commitStartTime, finishedRoot.passiveEffectDuration ); } catch (error) { @@ -14815,15 +14859,13 @@ root === workInProgressRoot ? workInProgressRootRenderLanes : 0 ); if (0 === lanes) return null; - var shouldTimeSlice = - 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout; - didTimeout = shouldTimeSlice + var exitStatus = (didTimeout = + 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout) ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes); - if (didTimeout !== RootInProgress) { - var renderWasConcurrent = shouldTimeSlice; + if (exitStatus !== RootInProgress) { do { - if (didTimeout === RootDidNotComplete) + if (exitStatus === RootDidNotComplete) markRootSuspended( root, lanes, @@ -14831,35 +14873,35 @@ workInProgressRootDidSkipSuspendedSiblings ); else { - shouldTimeSlice = root.current.alternate; + var finishedWork = root.current.alternate; if ( - renderWasConcurrent && - !isRenderConsistentWithExternalStores(shouldTimeSlice) + didTimeout && + !isRenderConsistentWithExternalStores(finishedWork) ) { - didTimeout = renderRootSync(root, lanes); - renderWasConcurrent = !1; + exitStatus = renderRootSync(root, lanes); + didTimeout = !1; continue; } - if (didTimeout === RootErrored) { - renderWasConcurrent = lanes; + if (exitStatus === RootErrored) { + didTimeout = lanes; var errorRetryLanes = getLanesToRetrySynchronouslyOnError( root, - renderWasConcurrent + didTimeout ); if ( 0 !== errorRetryLanes && ((lanes = errorRetryLanes), - (didTimeout = recoverFromConcurrentError( + (exitStatus = recoverFromConcurrentError( root, - renderWasConcurrent, + didTimeout, errorRetryLanes )), - (renderWasConcurrent = !1), - didTimeout !== RootErrored) + (didTimeout = !1), + exitStatus !== RootErrored) ) continue; } - if (didTimeout === RootFatalErrored) { + if (exitStatus === RootFatalErrored) { prepareFreshStack(root, 0); markRootSuspended( root, @@ -14870,16 +14912,16 @@ break; } a: { - renderWasConcurrent = root; - completeTime = now(); - switch (didTimeout) { + didTimeout = root; + errorRetryLanes = now$1(); + switch (exitStatus) { case RootInProgress: case RootFatalErrored: throw Error("Root did not complete. This is a bug in React."); case RootSuspendedWithDelay: if ((lanes & 4194176) === lanes) { markRootSuspended( - renderWasConcurrent, + didTimeout, lanes, workInProgressDeferredLane, workInProgressRootDidSkipSuspendedSiblings @@ -14896,39 +14938,42 @@ default: throw Error("Unknown root exit status."); } - renderWasConcurrent.finishedWork = shouldTimeSlice; - renderWasConcurrent.finishedLanes = lanes; + didTimeout.finishedWork = finishedWork; + didTimeout.finishedLanes = lanes; if (null !== ReactSharedInternals.actQueue) commitRoot( - renderWasConcurrent, + didTimeout, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + errorRetryLanes ); else { if ( (lanes & 62914560) === lanes && - ((didTimeout = + ((exitStatus = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1()), - 10 < didTimeout) + 10 < exitStatus) ) { markRootSuspended( - renderWasConcurrent, + didTimeout, lanes, workInProgressDeferredLane, workInProgressRootDidSkipSuspendedSiblings ); - if (0 !== getNextLanes(renderWasConcurrent, 0)) break a; - renderWasConcurrent.timeoutHandle = scheduleTimeout( + if (0 !== getNextLanes(didTimeout, 0)) break a; + didTimeout.timeoutHandle = scheduleTimeout( commitRootWhenReady.bind( null, - renderWasConcurrent, - shouldTimeSlice, + didTimeout, + finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, @@ -14936,15 +14981,18 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + THROTTLED_COMMIT, + renderStartTime, + errorRetryLanes ), - didTimeout + exitStatus ); break a; } commitRootWhenReady( - renderWasConcurrent, - shouldTimeSlice, + didTimeout, + finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, @@ -14952,7 +15000,10 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + IMMEDIATE_COMMIT, + renderStartTime, + errorRetryLanes ); } } @@ -15010,7 +15061,10 @@ spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -15029,7 +15083,8 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + SUSPENDED_COMMIT ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -15042,7 +15097,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -15151,7 +15209,7 @@ ensureRootIsScheduled(root), null ); - completeTime = now(); + exitStatus = now$1(); root.finishedWork = root.current.alternate; root.finishedLanes = lanes; commitRoot( @@ -15161,7 +15219,10 @@ workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + exitStatus ); ensureRootIsScheduled(root); return null; @@ -15791,7 +15852,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -15806,7 +15870,10 @@ previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -15822,7 +15889,10 @@ renderPriorityLevel, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { do flushPassiveEffects(); while (null !== rootWithPendingPassiveEffects); @@ -15832,6 +15902,9 @@ throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; + reusableComponentDevToolDetails.track = + getGroupNameOfHighestPriorityLane(lanes); + logRenderPhase(completedRenderStartTime, completedRenderEndTime); if (null === finishedWork) return null; 0 === lanes && console.error( @@ -15846,12 +15919,12 @@ root.callbackNode = null; root.callbackPriority = 0; root.cancelPendingCommit = null; - var remainingLanes = finishedWork.lanes | finishedWork.childLanes; - remainingLanes |= concurrentlyUpdatedLanes; + completedRenderStartTime = finishedWork.lanes | finishedWork.childLanes; + completedRenderStartTime |= concurrentlyUpdatedLanes; markRootFinished( root, lanes, - remainingLanes, + completedRenderStartTime, spawnedLane, updatedLanes, suspendedRetryLanes @@ -15865,12 +15938,18 @@ 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), - (pendingPassiveEffectsRemainingLanes = remainingLanes), + (pendingPassiveEffectsRemainingLanes = completedRenderStartTime), + (pendingPassiveEffectsRenderEndTime = completedRenderEndTime), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); + commitStartTime = now(); + suspendedCommitReason === SUSPENDED_COMMIT + ? logSuspendedCommitPhase(completedRenderEndTime, commitStartTime) + : suspendedCommitReason === THROTTLED_COMMIT && + logSuspenseThrottlePhase(completedRenderEndTime, commitStartTime); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? ((transitions = ReactSharedInternals.T), @@ -15880,7 +15959,6 @@ (updatedLanes = executionContext), (executionContext |= CommitContext), commitBeforeMutationEffects(root, finishedWork), - (commitTime = now()), commitMutationEffects(root, finishedWork, lanes), restoreSelection(selectionInformation, root.containerInfo), (_enabled = !!eventsEnabled), @@ -15891,16 +15969,19 @@ (executionContext = updatedLanes), (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) - : ((root.current = finishedWork), (commitTime = now())); + : (root.current = finishedWork); + commitEndTime = now(); + logCommitPhase(commitStartTime, commitEndTime); (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), (pendingPassiveEffectsLanes = lanes)) - : (releaseRootPooledCache(root, remainingLanes), + : (releaseRootPooledCache(root, completedRenderStartTime), (nestedPassiveUpdateCount = 0), (rootWithPassiveNestedUpdates = null)); - remainingLanes = root.pendingLanes; - 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); + completedRenderStartTime = root.pendingLanes; + 0 === completedRenderStartTime && + (legacyErrorBoundariesThatAlreadyFailed = null); transitions || commitDoubleInvokeEffectsInDEV(root); onCommitRoot$1(finishedWork.stateNode, renderPriorityLevel); isDevToolsPresent && root.memoizedUpdaters.clear(); @@ -15912,19 +15993,19 @@ finishedWork < recoverableErrors.length; finishedWork++ ) - (remainingLanes = recoverableErrors[finishedWork]), - (spawnedLane = makeErrorInfo(remainingLanes.stack)), + (completedRenderStartTime = recoverableErrors[finishedWork]), + (spawnedLane = makeErrorInfo(completedRenderStartTime.stack)), runWithFiberInDEV( - remainingLanes.source, + completedRenderStartTime.source, renderPriorityLevel, - remainingLanes.value, + completedRenderStartTime.value, spawnedLane ); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); - remainingLanes = root.pendingLanes; + completedRenderStartTime = root.pendingLanes; didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate || - (0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42)) + (0 !== (lanes & 4194218) && 0 !== (completedRenderStartTime & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -15951,7 +16032,7 @@ null != remainingLanes && ((root.pooledCache = null), releaseCache(remainingLanes))); } - function flushPassiveEffects() { + function flushPassiveEffects(wasDelayedCommit) { if (null !== rootWithPendingPassiveEffects) { var root = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; @@ -15969,10 +16050,10 @@ if (null === rootWithPendingPassiveEffects) var JSCompiler_inline_result = !1; else { - priority = pendingPassiveTransitions; + var transitions = pendingPassiveTransitions; pendingPassiveTransitions = null; - var root$jscomp$0 = rootWithPendingPassiveEffects, - lanes = pendingPassiveEffectsLanes; + priority = rootWithPendingPassiveEffects; + var lanes = pendingPassiveEffectsLanes; rootWithPendingPassiveEffects = null; pendingPassiveEffectsLanes = 0; if ( @@ -15983,40 +16064,56 @@ "Cannot flush passive effects while already rendering." ); reusableComponentDevToolDetails.track = - lanes & 63 - ? "Blocking" - : lanes & 4194240 - ? "Transition" - : lanes & 62914560 - ? "Suspense" - : lanes & 2080374784 - ? "Idle" - : "Other"; + getGroupNameOfHighestPriorityLane(lanes); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - var prevExecutionContext = executionContext; + var passiveEffectStartTime = 0; + passiveEffectStartTime = now$1(); + var startTime = commitEndTime, + endTime = passiveEffectStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-light"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure( + "Waiting for Paint", + reusableComponentOptions + )); + startTime = executionContext; executionContext |= CommitContext; - var finishedWork = root$jscomp$0.current; + var finishedWork = priority.current; resetComponentEffectTimers(); commitPassiveUnmountOnFiber(finishedWork); - var finishedWork$jscomp$0 = root$jscomp$0.current; + var finishedWork$jscomp$0 = priority.current; + finishedWork = pendingPassiveEffectsRenderEndTime; resetComponentEffectTimers(); commitPassiveMountOnFiber( - root$jscomp$0, + priority, finishedWork$jscomp$0, lanes, - priority, - completeTime + transitions, + finishedWork ); - commitDoubleInvokeEffectsInDEV(root$jscomp$0); - executionContext = prevExecutionContext; - finalizeRender(lanes, now$1()); + commitDoubleInvokeEffectsInDEV(priority); + executionContext = startTime; + var passiveEffectsEndTime = now$1(); + wasDelayedCommit && + ((wasDelayedCommit = passiveEffectStartTime), + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = wasDelayedCommit), + (reusableComponentOptions.end = passiveEffectsEndTime), + performance.measure( + "Remaining Effects", + reusableComponentOptions + ))); + finalizeRender(lanes, passiveEffectsEndTime); flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects - ? root$jscomp$0 === rootWithPassiveNestedUpdates + ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ : ((nestedPassiveUpdateCount = 0), - (rootWithPassiveNestedUpdates = root$jscomp$0)) + (rootWithPassiveNestedUpdates = priority)) : (nestedPassiveUpdateCount = 0); didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1; @@ -16025,7 +16122,7 @@ "function" === typeof injectedHook.onPostCommitFiberRoot ) try { - injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0); + injectedHook.onPostCommitFiberRoot(rendererID, priority); } catch (err) { hasLoggedError || ((hasLoggedError = !0), @@ -16034,7 +16131,7 @@ err )); } - var stateNode = root$jscomp$0.current.stateNode; + var stateNode = priority.current.stateNode; stateNode.effectDuration = 0; stateNode.passiveEffectDuration = 0; JSCompiler_inline_result = !0; @@ -22818,8 +22915,8 @@ NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, renderStartTime = -0, - completeTime = -0, - commitTime = -0, + commitStartTime = -0, + commitEndTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, @@ -24654,6 +24751,7 @@ rootWithPendingPassiveEffects = null, pendingPassiveEffectsLanes = 0, pendingPassiveEffectsRemainingLanes = 0, + pendingPassiveEffectsRenderEndTime = -0, pendingPassiveTransitions = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, @@ -24664,6 +24762,9 @@ nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, + IMMEDIATE_COMMIT = 0, + SUSPENDED_COMMIT = 1, + THROTTLED_COMMIT = 2, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1; var didWarnAboutUpdateInRenderForAnotherComponent = new Set(); @@ -25208,11 +25309,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25249,11 +25350,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25561,5 +25662,5 @@ } }; }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js index 6b827016f23ef..598c7835058c3 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js @@ -10784,7 +10784,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 2, + -0, + 0 ), didTimeout ); @@ -10800,7 +10803,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 0, + -0, + 0 ); } } @@ -10855,7 +10861,10 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -10874,7 +10883,8 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + 1 ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -10887,7 +10897,10 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -10999,7 +11012,10 @@ function performSyncWorkOnRoot(root, lanes) { workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + 0, + -0, + 0 ); ensureRootIsScheduled(root); return null; @@ -11440,7 +11456,10 @@ function commitRoot( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -11455,7 +11474,10 @@ function commitRoot( previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -11506,7 +11528,7 @@ function commitRootImpl( (pendingPassiveEffectsRemainingLanes = remainingLanes), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); transitions = 0 !== (finishedWork.flags & 15990); @@ -12007,20 +12029,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1433 = 0; - i$jscomp$inline_1433 < simpleEventPluginEvents.length; - i$jscomp$inline_1433++ + var i$jscomp$inline_1436 = 0; + i$jscomp$inline_1436 < simpleEventPluginEvents.length; + i$jscomp$inline_1436++ ) { - var eventName$jscomp$inline_1434 = - simpleEventPluginEvents[i$jscomp$inline_1433], - domEventName$jscomp$inline_1435 = - eventName$jscomp$inline_1434.toLowerCase(), - capitalizedEvent$jscomp$inline_1436 = - eventName$jscomp$inline_1434[0].toUpperCase() + - eventName$jscomp$inline_1434.slice(1); + var eventName$jscomp$inline_1437 = + simpleEventPluginEvents[i$jscomp$inline_1436], + domEventName$jscomp$inline_1438 = + eventName$jscomp$inline_1437.toLowerCase(), + capitalizedEvent$jscomp$inline_1439 = + eventName$jscomp$inline_1437[0].toUpperCase() + + eventName$jscomp$inline_1437.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1435, - "on" + capitalizedEvent$jscomp$inline_1436 + domEventName$jscomp$inline_1438, + "on" + capitalizedEvent$jscomp$inline_1439 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15518,16 +15540,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1680 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1683 = React.version; if ( - "19.0.0-experimental-5d19e1c8-20240923" !== - isomorphicReactPackageVersion$jscomp$inline_1680 + "19.0.0-experimental-04bd67a4-20240924" !== + isomorphicReactPackageVersion$jscomp$inline_1683 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1680, - "19.0.0-experimental-5d19e1c8-20240923" + isomorphicReactPackageVersion$jscomp$inline_1683, + "19.0.0-experimental-04bd67a4-20240924" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15547,25 +15569,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2145 = { +var internals$jscomp$inline_2148 = { bundleType: 0, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2146 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2149 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2146.isDisabled && - hook$jscomp$inline_2146.supportsFiber + !hook$jscomp$inline_2149.isDisabled && + hook$jscomp$inline_2149.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2146.inject( - internals$jscomp$inline_2145 + (rendererID = hook$jscomp$inline_2149.inject( + internals$jscomp$inline_2148 )), - (injectedHook = hook$jscomp$inline_2146); + (injectedHook = hook$jscomp$inline_2149); } catch (err) {} } exports.createComponentSelector = function (component) { @@ -15808,4 +15830,4 @@ exports.observeVisibleRects = function ( } }; }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js index 048e2ee0039c8..29b22dc3edfd2 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js index ae8d05d7bea34..d6cf113160254 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js index b3db1f291ed99..8a2a8d2d07970 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js index 353a895622fbb..a18497e264b08 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index 59d683cb5b760..b333456b05664 100644 --- a/packages/next/src/compiled/react-dom-experimental/package.json +++ b/packages/next/src/compiled/react-dom-experimental/package.json @@ -72,10 +72,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.0.0-experimental-5d19e1c8-20240923" + "scheduler": "0.0.0-experimental-04bd67a4-20240924" }, "peerDependencies": { - "react": "0.0.0-experimental-5d19e1c8-20240923" + "react": "0.0.0-experimental-04bd67a4-20240924" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js index 49e3eba4eb2ac..5a6d54ee10e0b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js @@ -8636,32 +8636,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2287; - var JSCompiler_object_inline_stack_2288 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2289; + var JSCompiler_object_inline_stack_2290 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2289 = !1; + var JSCompiler_object_inline_componentStack_2291 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2287 = didSuspend) || - (JSCompiler_object_inline_digest_2287 = + (JSCompiler_object_inline_digest_2289 = didSuspend) || + (JSCompiler_object_inline_digest_2289 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2287 && - ((JSCompiler_object_inline_componentStack_2289 = !0), + JSCompiler_object_inline_digest_2289 && + ((JSCompiler_object_inline_componentStack_2291 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2287 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2289 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2289 + JSCompiler_object_inline_componentStack_2291 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2286 = nextHydratableInstance; + var JSCompiler_object_inline_message_2288 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2286)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2288)) { c: { - var instance = JSCompiler_object_inline_message_2286; + var instance = JSCompiler_object_inline_message_2288; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8702,19 +8702,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2286 + JSCompiler_object_inline_message_2288 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2286 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2288 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2286 && - ((JSCompiler_object_inline_message_2286 = - JSCompiler_object_inline_message_2286.dehydrated), - null !== JSCompiler_object_inline_message_2286) + null !== JSCompiler_object_inline_message_2288 && + ((JSCompiler_object_inline_message_2288 = + JSCompiler_object_inline_message_2288.dehydrated), + null !== JSCompiler_object_inline_message_2288) ) return ( - JSCompiler_object_inline_message_2286.data === + JSCompiler_object_inline_message_2288.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8722,58 +8722,58 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2286 = - JSCompiler_object_inline_stack_2288.children; - JSCompiler_object_inline_stack_2288 = - JSCompiler_object_inline_stack_2288.fallback; - if (JSCompiler_object_inline_componentStack_2289) + JSCompiler_object_inline_message_2288 = + JSCompiler_object_inline_stack_2290.children; + JSCompiler_object_inline_stack_2290 = + JSCompiler_object_inline_stack_2290.fallback; + if (JSCompiler_object_inline_componentStack_2291) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2289 = + (JSCompiler_object_inline_componentStack_2291 = workInProgress.mode), - (JSCompiler_object_inline_message_2286 = + (JSCompiler_object_inline_message_2288 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2286 + children: JSCompiler_object_inline_message_2288 }, - JSCompiler_object_inline_componentStack_2289 + JSCompiler_object_inline_componentStack_2291 )), - (JSCompiler_object_inline_stack_2288 = createFiberFromFragment( - JSCompiler_object_inline_stack_2288, - JSCompiler_object_inline_componentStack_2289, + (JSCompiler_object_inline_stack_2290 = createFiberFromFragment( + JSCompiler_object_inline_stack_2290, + JSCompiler_object_inline_componentStack_2291, renderLanes, null )), - (JSCompiler_object_inline_message_2286.return = workInProgress), - (JSCompiler_object_inline_stack_2288.return = workInProgress), - (JSCompiler_object_inline_message_2286.sibling = - JSCompiler_object_inline_stack_2288), - (workInProgress.child = JSCompiler_object_inline_message_2286), - (JSCompiler_object_inline_componentStack_2289 = + (JSCompiler_object_inline_message_2288.return = workInProgress), + (JSCompiler_object_inline_stack_2290.return = workInProgress), + (JSCompiler_object_inline_message_2288.sibling = + JSCompiler_object_inline_stack_2290), + (workInProgress.child = JSCompiler_object_inline_message_2288), + (JSCompiler_object_inline_componentStack_2291 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2289.memoizedState = + (JSCompiler_object_inline_componentStack_2291.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2289.childLanes = + (JSCompiler_object_inline_componentStack_2291.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2287, + JSCompiler_object_inline_digest_2289, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2288 + JSCompiler_object_inline_stack_2290 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2286 + JSCompiler_object_inline_message_2288 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2286 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2286) + ((JSCompiler_object_inline_message_2288 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2288) ) { if (didSuspend) workInProgress.flags & 256 @@ -8790,94 +8790,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2289 = - JSCompiler_object_inline_stack_2288.fallback), - (JSCompiler_object_inline_message_2286 = workInProgress.mode), - (JSCompiler_object_inline_stack_2288 = + (JSCompiler_object_inline_componentStack_2291 = + JSCompiler_object_inline_stack_2290.fallback), + (JSCompiler_object_inline_message_2288 = workInProgress.mode), + (JSCompiler_object_inline_stack_2290 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2288.children + children: JSCompiler_object_inline_stack_2290.children }, - JSCompiler_object_inline_message_2286 + JSCompiler_object_inline_message_2288 )), - (JSCompiler_object_inline_componentStack_2289 = + (JSCompiler_object_inline_componentStack_2291 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2289, - JSCompiler_object_inline_message_2286, + JSCompiler_object_inline_componentStack_2291, + JSCompiler_object_inline_message_2288, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2289.flags |= 2), - (JSCompiler_object_inline_stack_2288.return = workInProgress), - (JSCompiler_object_inline_componentStack_2289.return = + (JSCompiler_object_inline_componentStack_2291.flags |= 2), + (JSCompiler_object_inline_stack_2290.return = workInProgress), + (JSCompiler_object_inline_componentStack_2291.return = workInProgress), - (JSCompiler_object_inline_stack_2288.sibling = - JSCompiler_object_inline_componentStack_2289), - (workInProgress.child = JSCompiler_object_inline_stack_2288), + (JSCompiler_object_inline_stack_2290.sibling = + JSCompiler_object_inline_componentStack_2291), + (workInProgress.child = JSCompiler_object_inline_stack_2290), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2288 = workInProgress.child), - (JSCompiler_object_inline_stack_2288.memoizedState = + (JSCompiler_object_inline_stack_2290 = workInProgress.child), + (JSCompiler_object_inline_stack_2290.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2288.childLanes = + (JSCompiler_object_inline_stack_2290.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2287, + JSCompiler_object_inline_digest_2289, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2289)); + JSCompiler_object_inline_componentStack_2291)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2286.data === + JSCompiler_object_inline_message_2288.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2287 = - JSCompiler_object_inline_message_2286.nextSibling && - JSCompiler_object_inline_message_2286.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2287) { - JSCompiler_temp = JSCompiler_object_inline_digest_2287.dgst; - var message = JSCompiler_object_inline_digest_2287.msg; - instance = JSCompiler_object_inline_digest_2287.stck; - var componentStack = JSCompiler_object_inline_digest_2287.cstck; + JSCompiler_object_inline_digest_2289 = + JSCompiler_object_inline_message_2288.nextSibling && + JSCompiler_object_inline_message_2288.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2289) { + JSCompiler_temp = JSCompiler_object_inline_digest_2289.dgst; + var message = JSCompiler_object_inline_digest_2289.msg; + instance = JSCompiler_object_inline_digest_2289.stck; + var componentStack = JSCompiler_object_inline_digest_2289.cstck; } - JSCompiler_object_inline_message_2286 = message; - JSCompiler_object_inline_digest_2287 = JSCompiler_temp; - JSCompiler_object_inline_stack_2288 = instance; - JSCompiler_object_inline_componentStack_2289 = componentStack; - JSCompiler_object_inline_message_2286 = - JSCompiler_object_inline_message_2286 - ? Error(JSCompiler_object_inline_message_2286) + JSCompiler_object_inline_message_2288 = message; + JSCompiler_object_inline_digest_2289 = JSCompiler_temp; + JSCompiler_object_inline_stack_2290 = instance; + JSCompiler_object_inline_componentStack_2291 = componentStack; + JSCompiler_object_inline_message_2288 = + JSCompiler_object_inline_message_2288 + ? Error(JSCompiler_object_inline_message_2288) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2286.stack = - JSCompiler_object_inline_stack_2288 || ""; - JSCompiler_object_inline_message_2286.digest = - JSCompiler_object_inline_digest_2287; - JSCompiler_object_inline_digest_2287 = - void 0 === JSCompiler_object_inline_componentStack_2289 + JSCompiler_object_inline_message_2288.stack = + JSCompiler_object_inline_stack_2290 || ""; + JSCompiler_object_inline_message_2288.digest = + JSCompiler_object_inline_digest_2289; + JSCompiler_object_inline_digest_2289 = + void 0 === JSCompiler_object_inline_componentStack_2291 ? null - : JSCompiler_object_inline_componentStack_2289; - "string" === typeof JSCompiler_object_inline_digest_2287 && + : JSCompiler_object_inline_componentStack_2291; + "string" === typeof JSCompiler_object_inline_digest_2289 && CapturedStacks.set( - JSCompiler_object_inline_message_2286, - JSCompiler_object_inline_digest_2287 + JSCompiler_object_inline_message_2288, + JSCompiler_object_inline_digest_2289 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2286, + value: JSCompiler_object_inline_message_2288, source: null, - stack: JSCompiler_object_inline_digest_2287 + stack: JSCompiler_object_inline_digest_2289 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8892,25 +8892,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2287 = + (JSCompiler_object_inline_digest_2289 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2287) + didReceiveUpdate || JSCompiler_object_inline_digest_2289) ) { - JSCompiler_object_inline_digest_2287 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2287) { - JSCompiler_object_inline_stack_2288 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2288 & 42)) - JSCompiler_object_inline_stack_2288 = 1; + JSCompiler_object_inline_digest_2289 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2289) { + JSCompiler_object_inline_stack_2290 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2290 & 42)) + JSCompiler_object_inline_stack_2290 = 1; else - switch (JSCompiler_object_inline_stack_2288) { + switch (JSCompiler_object_inline_stack_2290) { case 2: - JSCompiler_object_inline_stack_2288 = 1; + JSCompiler_object_inline_stack_2290 = 1; break; case 8: - JSCompiler_object_inline_stack_2288 = 4; + JSCompiler_object_inline_stack_2290 = 4; break; case 32: - JSCompiler_object_inline_stack_2288 = 16; + JSCompiler_object_inline_stack_2290 = 16; break; case 128: case 256: @@ -8931,40 +8931,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2288 = 64; + JSCompiler_object_inline_stack_2290 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2288 = 134217728; + JSCompiler_object_inline_stack_2290 = 134217728; break; default: - JSCompiler_object_inline_stack_2288 = 0; + JSCompiler_object_inline_stack_2290 = 0; } - JSCompiler_object_inline_stack_2288 = + JSCompiler_object_inline_stack_2290 = 0 !== - (JSCompiler_object_inline_stack_2288 & - (JSCompiler_object_inline_digest_2287.suspendedLanes | + (JSCompiler_object_inline_stack_2290 & + (JSCompiler_object_inline_digest_2289.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2288; + : JSCompiler_object_inline_stack_2290; if ( - 0 !== JSCompiler_object_inline_stack_2288 && - JSCompiler_object_inline_stack_2288 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2290 && + JSCompiler_object_inline_stack_2290 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2288), + ((prevState.retryLane = JSCompiler_object_inline_stack_2290), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2288 + JSCompiler_object_inline_stack_2290 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2287, + JSCompiler_object_inline_digest_2289, current, - JSCompiler_object_inline_stack_2288 + JSCompiler_object_inline_stack_2290 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2286.data === + JSCompiler_object_inline_message_2288.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8972,7 +8972,7 @@ renderLanes ); } else - JSCompiler_object_inline_message_2286.data === + JSCompiler_object_inline_message_2288.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -8980,12 +8980,12 @@ null, current )), - (JSCompiler_object_inline_message_2286._reactRetry = + (JSCompiler_object_inline_message_2288._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2286.nextSibling + JSCompiler_object_inline_message_2288.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9003,57 +9003,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2288.children + JSCompiler_object_inline_stack_2290.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2289) + if (JSCompiler_object_inline_componentStack_2291) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2289 = - JSCompiler_object_inline_stack_2288.fallback), - (JSCompiler_object_inline_message_2286 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2291 = + JSCompiler_object_inline_stack_2290.fallback), + (JSCompiler_object_inline_message_2288 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2288 = createWorkInProgress( + (JSCompiler_object_inline_stack_2290 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2288.children + children: JSCompiler_object_inline_stack_2290.children } )), - (JSCompiler_object_inline_stack_2288.subtreeFlags = + (JSCompiler_object_inline_stack_2290.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2289 = + ? (JSCompiler_object_inline_componentStack_2291 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2289 + JSCompiler_object_inline_componentStack_2291 )) - : ((JSCompiler_object_inline_componentStack_2289 = + : ((JSCompiler_object_inline_componentStack_2291 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2289, - JSCompiler_object_inline_message_2286, + JSCompiler_object_inline_componentStack_2291, + JSCompiler_object_inline_message_2288, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2289.flags |= 2)), - (JSCompiler_object_inline_componentStack_2289.return = + (JSCompiler_object_inline_componentStack_2291.flags |= 2)), + (JSCompiler_object_inline_componentStack_2291.return = workInProgress), - (JSCompiler_object_inline_stack_2288.return = workInProgress), - (JSCompiler_object_inline_stack_2288.sibling = - JSCompiler_object_inline_componentStack_2289), - (workInProgress.child = JSCompiler_object_inline_stack_2288), - (JSCompiler_object_inline_stack_2288 = - JSCompiler_object_inline_componentStack_2289), - (JSCompiler_object_inline_componentStack_2289 = workInProgress.child), - (JSCompiler_object_inline_message_2286 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2286 - ? (JSCompiler_object_inline_message_2286 = + (JSCompiler_object_inline_stack_2290.return = workInProgress), + (JSCompiler_object_inline_stack_2290.sibling = + JSCompiler_object_inline_componentStack_2291), + (workInProgress.child = JSCompiler_object_inline_stack_2290), + (JSCompiler_object_inline_stack_2290 = + JSCompiler_object_inline_componentStack_2291), + (JSCompiler_object_inline_componentStack_2291 = workInProgress.child), + (JSCompiler_object_inline_message_2288 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2288 + ? (JSCompiler_object_inline_message_2288 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2286.cachePool), + JSCompiler_object_inline_message_2288.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9061,37 +9061,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2286 = { + (JSCompiler_object_inline_message_2288 = { baseLanes: - JSCompiler_object_inline_message_2286.baseLanes | renderLanes, + JSCompiler_object_inline_message_2288.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2289.memoizedState = - JSCompiler_object_inline_message_2286), - (JSCompiler_object_inline_componentStack_2289.childLanes = + (JSCompiler_object_inline_componentStack_2291.memoizedState = + JSCompiler_object_inline_message_2288), + (JSCompiler_object_inline_componentStack_2291.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2287, + JSCompiler_object_inline_digest_2289, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2288 + JSCompiler_object_inline_stack_2290 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2288.children + children: JSCompiler_object_inline_stack_2290.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2287 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2287 + ((JSCompiler_object_inline_digest_2289 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2289 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2287.push(current)); + : JSCompiler_object_inline_digest_2289.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11034,7 +11034,12 @@ } else ref.current = null; } - function commitProfiler(finishedWork, current, commitTime, effectDuration) { + function commitProfiler( + finishedWork, + current, + commitStartTime, + effectDuration + ) { var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit; @@ -11048,20 +11053,20 @@ finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, - commitTime + commitStartTime ); "function" === typeof onCommit && onCommit( finishedWork.memoizedProps.id, current, effectDuration, - commitTime + commitStartTime ); } function commitProfilerPostCommitImpl( finishedWork, current, - commitTime, + commitStartTime, passiveEffectDuration ) { var _finishedWork$memoize2 = finishedWork.memoizedProps; @@ -11074,7 +11079,7 @@ finishedWork, current, passiveEffectDuration, - commitTime + commitStartTime ); } function commitHostMount(finishedWork) { @@ -11504,7 +11509,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration ); } catch (error) { @@ -12495,7 +12500,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, includeWorkInProgressEffects.effectDuration ); } catch (error) { @@ -12646,7 +12651,7 @@ commitProfilerPostCommitImpl, finishedWork, finishedWork.alternate, - commitTime, + commitStartTime, finishedRoot.passiveEffectDuration ); } catch (error) { @@ -14367,7 +14372,10 @@ workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + 0 ); else { if ( @@ -14397,7 +14405,10 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + THROTTLED_COMMIT, + renderStartTime, + 0 ), didTimeout ); @@ -14413,7 +14424,10 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + IMMEDIATE_COMMIT, + renderStartTime, + 0 ); } } @@ -14471,7 +14485,10 @@ spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -14490,7 +14507,8 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + SUSPENDED_COMMIT ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -14503,7 +14521,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -14621,7 +14642,10 @@ workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + 0 ); ensureRootIsScheduled(root); return null; @@ -15213,7 +15237,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -15228,7 +15255,10 @@ previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -15292,9 +15322,10 @@ (pendingPassiveEffectsRemainingLanes = remainingLanes), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); + commitStartTime = now(); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? ((transitions = ReactSharedInternals.T), @@ -15304,7 +15335,6 @@ (updatedLanes = executionContext), (executionContext |= CommitContext), commitBeforeMutationEffects(root, finishedWork), - (commitTime = now()), commitMutationEffects(root, finishedWork, lanes), restoreSelection(selectionInformation, root.containerInfo), (_enabled = !!eventsEnabled), @@ -15323,7 +15353,7 @@ (executionContext = updatedLanes), (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) - : ((root.current = finishedWork), (commitTime = now())); + : (root.current = finishedWork); (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), @@ -22143,7 +22173,8 @@ StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, - commitTime = -0, + renderStartTime = -0, + commitStartTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, currentUpdateIsNested = !1, @@ -23930,6 +23961,9 @@ nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, + IMMEDIATE_COMMIT = 0, + SUSPENDED_COMMIT = 1, + THROTTLED_COMMIT = 2, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1; var didWarnAboutUpdateInRenderForAnotherComponent = new Set(); @@ -24474,11 +24508,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24515,11 +24549,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-5d19e1c8-20240923", + version: "19.0.0-rc-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-rc-04bd67a4-20240924" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24663,7 +24697,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js index dede7168330ff..352ff46d57cd3 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js @@ -10355,7 +10355,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 2, + -0, + 0 ), didTimeout ); @@ -10371,7 +10374,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 0, + -0, + 0 ); } } @@ -10426,7 +10432,10 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -10445,7 +10454,8 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + 1 ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -10458,7 +10468,10 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -10570,7 +10583,10 @@ function performSyncWorkOnRoot(root, lanes) { workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + 0, + -0, + 0 ); ensureRootIsScheduled(root); return null; @@ -11006,7 +11022,10 @@ function commitRoot( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -11021,7 +11040,10 @@ function commitRoot( previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -11072,7 +11094,7 @@ function commitRootImpl( (pendingPassiveEffectsRemainingLanes = remainingLanes), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); transitions = 0 !== (finishedWork.flags & 15990); @@ -11573,20 +11595,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1411 = 0; - i$jscomp$inline_1411 < simpleEventPluginEvents.length; - i$jscomp$inline_1411++ + var i$jscomp$inline_1414 = 0; + i$jscomp$inline_1414 < simpleEventPluginEvents.length; + i$jscomp$inline_1414++ ) { - var eventName$jscomp$inline_1412 = - simpleEventPluginEvents[i$jscomp$inline_1411], - domEventName$jscomp$inline_1413 = - eventName$jscomp$inline_1412.toLowerCase(), - capitalizedEvent$jscomp$inline_1414 = - eventName$jscomp$inline_1412[0].toUpperCase() + - eventName$jscomp$inline_1412.slice(1); + var eventName$jscomp$inline_1415 = + simpleEventPluginEvents[i$jscomp$inline_1414], + domEventName$jscomp$inline_1416 = + eventName$jscomp$inline_1415.toLowerCase(), + capitalizedEvent$jscomp$inline_1417 = + eventName$jscomp$inline_1415[0].toUpperCase() + + eventName$jscomp$inline_1415.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1413, - "on" + capitalizedEvent$jscomp$inline_1414 + domEventName$jscomp$inline_1416, + "on" + capitalizedEvent$jscomp$inline_1417 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15027,16 +15049,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1658 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1661 = React.version; if ( - "19.0.0-rc-5d19e1c8-20240923" !== - isomorphicReactPackageVersion$jscomp$inline_1658 + "19.0.0-rc-04bd67a4-20240924" !== + isomorphicReactPackageVersion$jscomp$inline_1661 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1658, - "19.0.0-rc-5d19e1c8-20240923" + isomorphicReactPackageVersion$jscomp$inline_1661, + "19.0.0-rc-04bd67a4-20240924" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15056,25 +15078,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2124 = { +var internals$jscomp$inline_2127 = { bundleType: 0, - version: "19.0.0-rc-5d19e1c8-20240923", + version: "19.0.0-rc-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-rc-04bd67a4-20240924" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2125 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2128 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2125.isDisabled && - hook$jscomp$inline_2125.supportsFiber + !hook$jscomp$inline_2128.isDisabled && + hook$jscomp$inline_2128.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2125.inject( - internals$jscomp$inline_2124 + (rendererID = hook$jscomp$inline_2128.inject( + internals$jscomp$inline_2127 )), - (injectedHook = hook$jscomp$inline_2125); + (injectedHook = hook$jscomp$inline_2128); } catch (err) {} } exports.createRoot = function (container, options) { @@ -15166,4 +15188,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js index 40a3092689065..38cea89d935bb 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js @@ -8644,32 +8644,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2292; - var JSCompiler_object_inline_stack_2293 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2294; + var JSCompiler_object_inline_stack_2295 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2294 = !1; + var JSCompiler_object_inline_componentStack_2296 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2292 = didSuspend) || - (JSCompiler_object_inline_digest_2292 = + (JSCompiler_object_inline_digest_2294 = didSuspend) || + (JSCompiler_object_inline_digest_2294 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2292 && - ((JSCompiler_object_inline_componentStack_2294 = !0), + JSCompiler_object_inline_digest_2294 && + ((JSCompiler_object_inline_componentStack_2296 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2292 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2294 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2294 + JSCompiler_object_inline_componentStack_2296 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2291 = nextHydratableInstance; + var JSCompiler_object_inline_message_2293 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2291)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2293)) { c: { - var instance = JSCompiler_object_inline_message_2291; + var instance = JSCompiler_object_inline_message_2293; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8710,19 +8710,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2291 + JSCompiler_object_inline_message_2293 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2291 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2293 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2291 && - ((JSCompiler_object_inline_message_2291 = - JSCompiler_object_inline_message_2291.dehydrated), - null !== JSCompiler_object_inline_message_2291) + null !== JSCompiler_object_inline_message_2293 && + ((JSCompiler_object_inline_message_2293 = + JSCompiler_object_inline_message_2293.dehydrated), + null !== JSCompiler_object_inline_message_2293) ) return ( - JSCompiler_object_inline_message_2291.data === + JSCompiler_object_inline_message_2293.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8730,58 +8730,58 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2291 = - JSCompiler_object_inline_stack_2293.children; - JSCompiler_object_inline_stack_2293 = - JSCompiler_object_inline_stack_2293.fallback; - if (JSCompiler_object_inline_componentStack_2294) + JSCompiler_object_inline_message_2293 = + JSCompiler_object_inline_stack_2295.children; + JSCompiler_object_inline_stack_2295 = + JSCompiler_object_inline_stack_2295.fallback; + if (JSCompiler_object_inline_componentStack_2296) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2294 = + (JSCompiler_object_inline_componentStack_2296 = workInProgress.mode), - (JSCompiler_object_inline_message_2291 = + (JSCompiler_object_inline_message_2293 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2291 + children: JSCompiler_object_inline_message_2293 }, - JSCompiler_object_inline_componentStack_2294 + JSCompiler_object_inline_componentStack_2296 )), - (JSCompiler_object_inline_stack_2293 = createFiberFromFragment( - JSCompiler_object_inline_stack_2293, - JSCompiler_object_inline_componentStack_2294, + (JSCompiler_object_inline_stack_2295 = createFiberFromFragment( + JSCompiler_object_inline_stack_2295, + JSCompiler_object_inline_componentStack_2296, renderLanes, null )), - (JSCompiler_object_inline_message_2291.return = workInProgress), - (JSCompiler_object_inline_stack_2293.return = workInProgress), - (JSCompiler_object_inline_message_2291.sibling = - JSCompiler_object_inline_stack_2293), - (workInProgress.child = JSCompiler_object_inline_message_2291), - (JSCompiler_object_inline_componentStack_2294 = + (JSCompiler_object_inline_message_2293.return = workInProgress), + (JSCompiler_object_inline_stack_2295.return = workInProgress), + (JSCompiler_object_inline_message_2293.sibling = + JSCompiler_object_inline_stack_2295), + (workInProgress.child = JSCompiler_object_inline_message_2293), + (JSCompiler_object_inline_componentStack_2296 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2294.memoizedState = + (JSCompiler_object_inline_componentStack_2296.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2294.childLanes = + (JSCompiler_object_inline_componentStack_2296.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2292, + JSCompiler_object_inline_digest_2294, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2293 + JSCompiler_object_inline_stack_2295 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2291 + JSCompiler_object_inline_message_2293 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2291 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2291) + ((JSCompiler_object_inline_message_2293 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2293) ) { if (didSuspend) workInProgress.flags & 256 @@ -8798,94 +8798,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2294 = - JSCompiler_object_inline_stack_2293.fallback), - (JSCompiler_object_inline_message_2291 = workInProgress.mode), - (JSCompiler_object_inline_stack_2293 = + (JSCompiler_object_inline_componentStack_2296 = + JSCompiler_object_inline_stack_2295.fallback), + (JSCompiler_object_inline_message_2293 = workInProgress.mode), + (JSCompiler_object_inline_stack_2295 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2293.children + children: JSCompiler_object_inline_stack_2295.children }, - JSCompiler_object_inline_message_2291 + JSCompiler_object_inline_message_2293 )), - (JSCompiler_object_inline_componentStack_2294 = + (JSCompiler_object_inline_componentStack_2296 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2294, - JSCompiler_object_inline_message_2291, + JSCompiler_object_inline_componentStack_2296, + JSCompiler_object_inline_message_2293, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2294.flags |= 2), - (JSCompiler_object_inline_stack_2293.return = workInProgress), - (JSCompiler_object_inline_componentStack_2294.return = + (JSCompiler_object_inline_componentStack_2296.flags |= 2), + (JSCompiler_object_inline_stack_2295.return = workInProgress), + (JSCompiler_object_inline_componentStack_2296.return = workInProgress), - (JSCompiler_object_inline_stack_2293.sibling = - JSCompiler_object_inline_componentStack_2294), - (workInProgress.child = JSCompiler_object_inline_stack_2293), + (JSCompiler_object_inline_stack_2295.sibling = + JSCompiler_object_inline_componentStack_2296), + (workInProgress.child = JSCompiler_object_inline_stack_2295), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2293 = workInProgress.child), - (JSCompiler_object_inline_stack_2293.memoizedState = + (JSCompiler_object_inline_stack_2295 = workInProgress.child), + (JSCompiler_object_inline_stack_2295.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2293.childLanes = + (JSCompiler_object_inline_stack_2295.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2292, + JSCompiler_object_inline_digest_2294, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2294)); + JSCompiler_object_inline_componentStack_2296)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2291.data === + JSCompiler_object_inline_message_2293.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2292 = - JSCompiler_object_inline_message_2291.nextSibling && - JSCompiler_object_inline_message_2291.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2292) { - JSCompiler_temp = JSCompiler_object_inline_digest_2292.dgst; - var message = JSCompiler_object_inline_digest_2292.msg; - instance = JSCompiler_object_inline_digest_2292.stck; - var componentStack = JSCompiler_object_inline_digest_2292.cstck; + JSCompiler_object_inline_digest_2294 = + JSCompiler_object_inline_message_2293.nextSibling && + JSCompiler_object_inline_message_2293.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2294) { + JSCompiler_temp = JSCompiler_object_inline_digest_2294.dgst; + var message = JSCompiler_object_inline_digest_2294.msg; + instance = JSCompiler_object_inline_digest_2294.stck; + var componentStack = JSCompiler_object_inline_digest_2294.cstck; } - JSCompiler_object_inline_message_2291 = message; - JSCompiler_object_inline_digest_2292 = JSCompiler_temp; - JSCompiler_object_inline_stack_2293 = instance; - JSCompiler_object_inline_componentStack_2294 = componentStack; - JSCompiler_object_inline_message_2291 = - JSCompiler_object_inline_message_2291 - ? Error(JSCompiler_object_inline_message_2291) + JSCompiler_object_inline_message_2293 = message; + JSCompiler_object_inline_digest_2294 = JSCompiler_temp; + JSCompiler_object_inline_stack_2295 = instance; + JSCompiler_object_inline_componentStack_2296 = componentStack; + JSCompiler_object_inline_message_2293 = + JSCompiler_object_inline_message_2293 + ? Error(JSCompiler_object_inline_message_2293) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2291.stack = - JSCompiler_object_inline_stack_2293 || ""; - JSCompiler_object_inline_message_2291.digest = - JSCompiler_object_inline_digest_2292; - JSCompiler_object_inline_digest_2292 = - void 0 === JSCompiler_object_inline_componentStack_2294 + JSCompiler_object_inline_message_2293.stack = + JSCompiler_object_inline_stack_2295 || ""; + JSCompiler_object_inline_message_2293.digest = + JSCompiler_object_inline_digest_2294; + JSCompiler_object_inline_digest_2294 = + void 0 === JSCompiler_object_inline_componentStack_2296 ? null - : JSCompiler_object_inline_componentStack_2294; - "string" === typeof JSCompiler_object_inline_digest_2292 && + : JSCompiler_object_inline_componentStack_2296; + "string" === typeof JSCompiler_object_inline_digest_2294 && CapturedStacks.set( - JSCompiler_object_inline_message_2291, - JSCompiler_object_inline_digest_2292 + JSCompiler_object_inline_message_2293, + JSCompiler_object_inline_digest_2294 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2291, + value: JSCompiler_object_inline_message_2293, source: null, - stack: JSCompiler_object_inline_digest_2292 + stack: JSCompiler_object_inline_digest_2294 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8900,25 +8900,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2292 = + (JSCompiler_object_inline_digest_2294 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2292) + didReceiveUpdate || JSCompiler_object_inline_digest_2294) ) { - JSCompiler_object_inline_digest_2292 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2292) { - JSCompiler_object_inline_stack_2293 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2293 & 42)) - JSCompiler_object_inline_stack_2293 = 1; + JSCompiler_object_inline_digest_2294 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2294) { + JSCompiler_object_inline_stack_2295 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2295 & 42)) + JSCompiler_object_inline_stack_2295 = 1; else - switch (JSCompiler_object_inline_stack_2293) { + switch (JSCompiler_object_inline_stack_2295) { case 2: - JSCompiler_object_inline_stack_2293 = 1; + JSCompiler_object_inline_stack_2295 = 1; break; case 8: - JSCompiler_object_inline_stack_2293 = 4; + JSCompiler_object_inline_stack_2295 = 4; break; case 32: - JSCompiler_object_inline_stack_2293 = 16; + JSCompiler_object_inline_stack_2295 = 16; break; case 128: case 256: @@ -8939,40 +8939,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2293 = 64; + JSCompiler_object_inline_stack_2295 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2293 = 134217728; + JSCompiler_object_inline_stack_2295 = 134217728; break; default: - JSCompiler_object_inline_stack_2293 = 0; + JSCompiler_object_inline_stack_2295 = 0; } - JSCompiler_object_inline_stack_2293 = + JSCompiler_object_inline_stack_2295 = 0 !== - (JSCompiler_object_inline_stack_2293 & - (JSCompiler_object_inline_digest_2292.suspendedLanes | + (JSCompiler_object_inline_stack_2295 & + (JSCompiler_object_inline_digest_2294.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2293; + : JSCompiler_object_inline_stack_2295; if ( - 0 !== JSCompiler_object_inline_stack_2293 && - JSCompiler_object_inline_stack_2293 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2295 && + JSCompiler_object_inline_stack_2295 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2293), + ((prevState.retryLane = JSCompiler_object_inline_stack_2295), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2293 + JSCompiler_object_inline_stack_2295 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2292, + JSCompiler_object_inline_digest_2294, current, - JSCompiler_object_inline_stack_2293 + JSCompiler_object_inline_stack_2295 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2291.data === + JSCompiler_object_inline_message_2293.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8980,7 +8980,7 @@ renderLanes ); } else - JSCompiler_object_inline_message_2291.data === + JSCompiler_object_inline_message_2293.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -8988,12 +8988,12 @@ null, current )), - (JSCompiler_object_inline_message_2291._reactRetry = + (JSCompiler_object_inline_message_2293._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2291.nextSibling + JSCompiler_object_inline_message_2293.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9011,57 +9011,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2293.children + JSCompiler_object_inline_stack_2295.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2294) + if (JSCompiler_object_inline_componentStack_2296) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2294 = - JSCompiler_object_inline_stack_2293.fallback), - (JSCompiler_object_inline_message_2291 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2296 = + JSCompiler_object_inline_stack_2295.fallback), + (JSCompiler_object_inline_message_2293 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2293 = createWorkInProgress( + (JSCompiler_object_inline_stack_2295 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2293.children + children: JSCompiler_object_inline_stack_2295.children } )), - (JSCompiler_object_inline_stack_2293.subtreeFlags = + (JSCompiler_object_inline_stack_2295.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2294 = + ? (JSCompiler_object_inline_componentStack_2296 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2294 + JSCompiler_object_inline_componentStack_2296 )) - : ((JSCompiler_object_inline_componentStack_2294 = + : ((JSCompiler_object_inline_componentStack_2296 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2294, - JSCompiler_object_inline_message_2291, + JSCompiler_object_inline_componentStack_2296, + JSCompiler_object_inline_message_2293, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2294.flags |= 2)), - (JSCompiler_object_inline_componentStack_2294.return = + (JSCompiler_object_inline_componentStack_2296.flags |= 2)), + (JSCompiler_object_inline_componentStack_2296.return = workInProgress), - (JSCompiler_object_inline_stack_2293.return = workInProgress), - (JSCompiler_object_inline_stack_2293.sibling = - JSCompiler_object_inline_componentStack_2294), - (workInProgress.child = JSCompiler_object_inline_stack_2293), - (JSCompiler_object_inline_stack_2293 = - JSCompiler_object_inline_componentStack_2294), - (JSCompiler_object_inline_componentStack_2294 = workInProgress.child), - (JSCompiler_object_inline_message_2291 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2291 - ? (JSCompiler_object_inline_message_2291 = + (JSCompiler_object_inline_stack_2295.return = workInProgress), + (JSCompiler_object_inline_stack_2295.sibling = + JSCompiler_object_inline_componentStack_2296), + (workInProgress.child = JSCompiler_object_inline_stack_2295), + (JSCompiler_object_inline_stack_2295 = + JSCompiler_object_inline_componentStack_2296), + (JSCompiler_object_inline_componentStack_2296 = workInProgress.child), + (JSCompiler_object_inline_message_2293 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2293 + ? (JSCompiler_object_inline_message_2293 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2291.cachePool), + JSCompiler_object_inline_message_2293.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9069,37 +9069,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2291 = { + (JSCompiler_object_inline_message_2293 = { baseLanes: - JSCompiler_object_inline_message_2291.baseLanes | renderLanes, + JSCompiler_object_inline_message_2293.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2294.memoizedState = - JSCompiler_object_inline_message_2291), - (JSCompiler_object_inline_componentStack_2294.childLanes = + (JSCompiler_object_inline_componentStack_2296.memoizedState = + JSCompiler_object_inline_message_2293), + (JSCompiler_object_inline_componentStack_2296.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2292, + JSCompiler_object_inline_digest_2294, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2293 + JSCompiler_object_inline_stack_2295 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2293.children + children: JSCompiler_object_inline_stack_2295.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2292 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2292 + ((JSCompiler_object_inline_digest_2294 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2294 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2292.push(current)); + : JSCompiler_object_inline_digest_2294.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11042,7 +11042,12 @@ } else ref.current = null; } - function commitProfiler(finishedWork, current, commitTime, effectDuration) { + function commitProfiler( + finishedWork, + current, + commitStartTime, + effectDuration + ) { var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit; @@ -11056,20 +11061,20 @@ finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, - commitTime + commitStartTime ); "function" === typeof onCommit && onCommit( finishedWork.memoizedProps.id, current, effectDuration, - commitTime + commitStartTime ); } function commitProfilerPostCommitImpl( finishedWork, current, - commitTime, + commitStartTime, passiveEffectDuration ) { var _finishedWork$memoize2 = finishedWork.memoizedProps; @@ -11082,7 +11087,7 @@ finishedWork, current, passiveEffectDuration, - commitTime + commitStartTime ); } function commitHostMount(finishedWork) { @@ -11512,7 +11517,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration ); } catch (error) { @@ -12503,7 +12508,7 @@ commitProfiler, finishedWork, current, - commitTime, + commitStartTime, includeWorkInProgressEffects.effectDuration ); } catch (error) { @@ -12654,7 +12659,7 @@ commitProfilerPostCommitImpl, finishedWork, finishedWork.alternate, - commitTime, + commitStartTime, finishedRoot.passiveEffectDuration ); } catch (error) { @@ -14375,7 +14380,10 @@ workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + 0 ); else { if ( @@ -14405,7 +14413,10 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + THROTTLED_COMMIT, + renderStartTime, + 0 ), didTimeout ); @@ -14421,7 +14432,10 @@ workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + IMMEDIATE_COMMIT, + renderStartTime, + 0 ); } } @@ -14479,7 +14493,10 @@ spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -14502,7 +14519,8 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + SUSPENDED_COMMIT ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -14515,7 +14533,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -14633,7 +14654,10 @@ workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + IMMEDIATE_COMMIT, + renderStartTime, + 0 ); ensureRootIsScheduled(root); return null; @@ -15225,7 +15249,10 @@ didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -15240,7 +15267,10 @@ previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -15304,9 +15334,10 @@ (pendingPassiveEffectsRemainingLanes = remainingLanes), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); + commitStartTime = now(); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? ((transitions = ReactSharedInternals.T), @@ -15316,7 +15347,6 @@ (updatedLanes = executionContext), (executionContext |= CommitContext), commitBeforeMutationEffects(root, finishedWork), - (commitTime = now()), commitMutationEffects(root, finishedWork, lanes), restoreSelection(selectionInformation, root.containerInfo), (_enabled = !!eventsEnabled), @@ -15335,7 +15365,7 @@ (executionContext = updatedLanes), (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) - : ((root.current = finishedWork), (commitTime = now())); + : (root.current = finishedWork); (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), @@ -22200,7 +22230,8 @@ StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, - commitTime = -0, + renderStartTime = -0, + commitStartTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, currentUpdateIsNested = !1, @@ -23987,6 +24018,9 @@ nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, + IMMEDIATE_COMMIT = 0, + SUSPENDED_COMMIT = 1, + THROTTLED_COMMIT = 2, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1; var didWarnAboutUpdateInRenderForAnotherComponent = new Set(); @@ -24531,11 +24565,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24572,11 +24606,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-5d19e1c8-20240923", + version: "19.0.0-rc-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5d19e1c8-20240923" + reconcilerVersion: "19.0.0-rc-04bd67a4-20240924" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25050,7 +25084,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js index fe190f362124f..ff3a09b12124e 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js @@ -2507,7 +2507,7 @@ function getRootForUpdatedFiber(sourceFiber) { } var emptyContextObject = {}, now = Scheduler.unstable_now, - commitTime = -0, + commitStartTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0; function pushNestedEffectDurations() { @@ -7898,7 +7898,7 @@ function safelyDetachRef(current, nearestMountedAncestor) { function commitProfilerUpdate( finishedWork, current, - commitTime, + commitStartTime, effectDuration ) { try { @@ -7915,14 +7915,14 @@ function commitProfilerUpdate( finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, - commitTime + commitStartTime ); "function" === typeof onCommit && onCommit( finishedWork.memoizedProps.id, current, effectDuration, - commitTime + commitStartTime ); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); @@ -8304,7 +8304,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { commitProfilerUpdate( finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -9248,7 +9248,7 @@ function recursivelyTraverseReappearLayoutEffects( commitProfilerUpdate( finishedWork, current, - commitTime, + commitStartTime, finishedRoot.effectDuration )) : recursivelyTraverseReappearLayoutEffects( @@ -9385,7 +9385,7 @@ function commitPassiveMountOnFiber( id, phase, finishedRoot.passiveEffectDuration, - commitTime + commitStartTime ); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); @@ -10878,7 +10878,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 2, + -0, + 0 ), didTimeout ); @@ -10894,7 +10897,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) { workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, - workInProgressRootDidSkipSuspendedSiblings + workInProgressRootDidSkipSuspendedSiblings, + 0, + -0, + 0 ); } } @@ -10949,7 +10955,10 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - didSkipSuspendedSiblings + didSkipSuspendedSiblings, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) @@ -10968,7 +10977,8 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + 1 ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings); @@ -10981,7 +10991,10 @@ function commitRootWhenReady( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -11095,7 +11108,10 @@ function performSyncWorkOnRoot(root, lanes) { workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes + workInProgressSuspendedRetryLanes, + 0, + -0, + 0 ); ensureRootIsScheduled(root); return null; @@ -11606,7 +11622,10 @@ function commitRoot( didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; @@ -11621,7 +11640,10 @@ function commitRoot( previousUpdateLanePriority, spawnedLane, updatedLanes, - suspendedRetryLanes + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime ); } finally { (ReactSharedInternals.T = prevTransition), @@ -11675,9 +11697,10 @@ function commitRootImpl( (pendingPassiveEffectsRemainingLanes = remainingLanes), (pendingPassiveTransitions = transitions), scheduleCallback$1(NormalPriority$1, function () { - flushPassiveEffects(); + flushPassiveEffects(!0); return null; })); + commitStartTime = now(); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? ((transitions = ReactSharedInternals.T), @@ -11687,7 +11710,6 @@ function commitRootImpl( (updatedLanes = executionContext), (executionContext |= 4), commitBeforeMutationEffects(root, finishedWork), - (commitTime = now()), commitMutationEffects(root, finishedWork, lanes), restoreSelection(selectionInformation, root.containerInfo), (_enabled = !!eventsEnabled), @@ -11704,7 +11726,7 @@ function commitRootImpl( (executionContext = updatedLanes), (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) - : ((root.current = finishedWork), (commitTime = now())); + : (root.current = finishedWork); rootDoesHavePassiveEffects ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), @@ -12204,20 +12226,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1501 = 0; - i$jscomp$inline_1501 < simpleEventPluginEvents.length; - i$jscomp$inline_1501++ + var i$jscomp$inline_1503 = 0; + i$jscomp$inline_1503 < simpleEventPluginEvents.length; + i$jscomp$inline_1503++ ) { - var eventName$jscomp$inline_1502 = - simpleEventPluginEvents[i$jscomp$inline_1501], - domEventName$jscomp$inline_1503 = - eventName$jscomp$inline_1502.toLowerCase(), - capitalizedEvent$jscomp$inline_1504 = - eventName$jscomp$inline_1502[0].toUpperCase() + - eventName$jscomp$inline_1502.slice(1); + var eventName$jscomp$inline_1504 = + simpleEventPluginEvents[i$jscomp$inline_1503], + domEventName$jscomp$inline_1505 = + eventName$jscomp$inline_1504.toLowerCase(), + capitalizedEvent$jscomp$inline_1506 = + eventName$jscomp$inline_1504[0].toUpperCase() + + eventName$jscomp$inline_1504.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1503, - "on" + capitalizedEvent$jscomp$inline_1504 + domEventName$jscomp$inline_1505, + "on" + capitalizedEvent$jscomp$inline_1506 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15677,16 +15699,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1750 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1752 = React.version; if ( - "19.0.0-rc-5d19e1c8-20240923" !== - isomorphicReactPackageVersion$jscomp$inline_1750 + "19.0.0-rc-04bd67a4-20240924" !== + isomorphicReactPackageVersion$jscomp$inline_1752 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1750, - "19.0.0-rc-5d19e1c8-20240923" + isomorphicReactPackageVersion$jscomp$inline_1752, + "19.0.0-rc-04bd67a4-20240924" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15706,13 +15728,13 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1757 = { +var internals$jscomp$inline_1759 = { bundleType: 0, - version: "19.0.0-rc-5d19e1c8-20240923", + version: "19.0.0-rc-04bd67a4-20240924", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5d19e1c8-20240923", + reconcilerVersion: "19.0.0-rc-04bd67a4-20240924", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$275 = 0; @@ -15730,16 +15752,16 @@ var internals$jscomp$inline_1757 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2181 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2183 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2181.isDisabled && - hook$jscomp$inline_2181.supportsFiber + !hook$jscomp$inline_2183.isDisabled && + hook$jscomp$inline_2183.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2181.inject( - internals$jscomp$inline_1757 + (rendererID = hook$jscomp$inline_2183.inject( + internals$jscomp$inline_1759 )), - (injectedHook = hook$jscomp$inline_2181); + (injectedHook = hook$jscomp$inline_2183); } catch (err) {} } function noop() {} @@ -15992,7 +16014,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js index e5936d293da7c..84d5e4a8a4402 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js @@ -8563,5 +8563,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js index bfc17470f4ddf..c15a9b809dbef 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js @@ -5621,4 +5621,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js index d23525e0471ad..1e6a1d3509d3b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js @@ -8563,5 +8563,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js index 8648b8abe4737..d1f3351c6e166 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js @@ -5699,4 +5699,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js index 0b0ec2dfd3f70..fff83e2f7df42 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js @@ -8750,11 +8750,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToReadableStream = function (children, options) { @@ -8847,5 +8847,5 @@ startWork(request$jscomp$0); }); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js index 886738c9eca75..f520cf0c1452a 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js @@ -5910,14 +5910,14 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_730 = React.version; if ( - "19.0.0-rc-5d19e1c8-20240923" !== + "19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion$jscomp$inline_730 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_730, - "19.0.0-rc-5d19e1c8-20240923" + "19.0.0-rc-04bd67a4-20240924" ) ); exports.renderToReadableStream = function (children, options) { @@ -6006,4 +6006,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js index 17bd1525a2930..0109d9fde3b3b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js @@ -5594,13 +5594,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_734 = React.version; if ( - "19.0.0-rc-5d19e1c8-20240923" !== + "19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion$jscomp$inline_734 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_734 + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -5688,4 +5688,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js index d46ad5daf2050..7208390f0792b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js @@ -8769,11 +8769,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToReadableStream = function (children, options) { @@ -8877,5 +8877,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js index a45426f6020f3..de7d998a49c03 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js @@ -6004,13 +6004,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_738 = React.version; if ( - "19.0.0-rc-5d19e1c8-20240923" !== + "19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion$jscomp$inline_738 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_738 + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6109,4 +6109,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js index a7078d069454b..ed303ef1f03fd 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js @@ -8620,11 +8620,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5d19e1c8-20240923" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToPipeableStream = function (children, options) { @@ -8666,5 +8666,5 @@ } }; }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js index d5af938502a79..d5364983e8457 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js @@ -5626,13 +5626,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_761 = React.version; if ( - "19.0.0-rc-5d19e1c8-20240923" !== + "19.0.0-rc-04bd67a4-20240924" !== isomorphicReactPackageVersion$jscomp$inline_761 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_761 + - "\n - react-dom: 19.0.0-rc-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-04bd67a4-20240924\nLearn more: https://react.dev/warnings/version-mismatch") ); function createDrainHandler(destination, request) { return function () { @@ -5934,4 +5934,4 @@ exports.renderToPipeableStream = function (children, options) { } }; }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js index b18bada73cd5c..b125b42fe3c64 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js index fca3c0b79bc2a..858de98dcccd9 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js index 1e0a5ee5c020b..65f6799f4a8b2 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js index d1e860cca9295..f9b799af073fd 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index 0627ac85ded77..d93de8cfb058f 100644 --- a/packages/next/src/compiled/react-dom/package.json +++ b/packages/next/src/compiled/react-dom/package.json @@ -67,10 +67,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.25.0-rc-5d19e1c8-20240923" + "scheduler": "0.25.0-rc-04bd67a4-20240924" }, "peerDependencies": { - "react": "19.0.0-rc-5d19e1c8-20240923" + "react": "19.0.0-rc-04bd67a4-20240924" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-experimental/cjs/react.development.js b/packages/next/src/compiled/react-experimental/cjs/react.development.js index adfe3da7b01bc..b0a92ead9ff3b 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -1232,7 +1232,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-experimental/cjs/react.production.js b/packages/next/src/compiled/react-experimental/cjs/react.production.js index 49de22e03c415..ed71fdd74e57c 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.js @@ -562,4 +562,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js index 52e72ca8405ee..a05e38bd93b4b 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js @@ -978,5 +978,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-experimental-5d19e1c8-20240923"; + exports.version = "19.0.0-experimental-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js index 4504dea11332c..116ec9f356caf 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js @@ -567,4 +567,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-experimental-5d19e1c8-20240923"; +exports.version = "19.0.0-experimental-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react-is/package.json b/packages/next/src/compiled/react-is/package.json index efbc81f019b61..c1368241270dc 100644 --- a/packages/next/src/compiled/react-is/package.json +++ b/packages/next/src/compiled/react-is/package.json @@ -1,6 +1,6 @@ { "name": "react-is", - "version": "19.0.0-rc-5d19e1c8-20240923", + "version": "19.0.0-rc-04bd67a4-20240924", "description": "Brand checking of React Elements.", "main": "index.js", "sideEffects": false, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js index 86ffb5d480abc..f60d314c22a32 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js @@ -1092,17 +1092,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), @@ -2494,10 +2499,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923", + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js index 8700544b471d1..f0ff41e81568c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js @@ -688,15 +688,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js index 3f1cad640f710..6ff93eafd9324 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js @@ -1300,17 +1300,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.js index 879f6eee46526..27beef6e83cdc 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.js @@ -851,15 +851,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js index a6c74cfd4893d..4fd90c5b15325 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js @@ -1300,17 +1300,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.js index dc8b6851a4dff..966be4694ea1e 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.js @@ -852,15 +852,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js index 5dad00f4cce96..e191eddf26cab 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js @@ -1850,6 +1850,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js index 46bbf48ae9648..d35aaca564e0b 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js @@ -1523,6 +1523,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js index 9f1197595520a..10d7b52135a3c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js @@ -1907,6 +1907,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js index f17d75ca0c93c..bafb4e460b56a 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js @@ -1528,6 +1528,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js index ebb1411c93b7d..f00c6945e615f 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js @@ -1903,6 +1903,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js index 0154cc7d24125..b5d45794c3b49 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js @@ -1542,6 +1542,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json index 5aa4d631c244b..89d7b8a4952d5 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "0.0.0-experimental-5d19e1c8-20240923", - "react-dom": "0.0.0-experimental-5d19e1c8-20240923" + "react": "0.0.0-experimental-04bd67a4-20240924", + "react-dom": "0.0.0-experimental-04bd67a4-20240924" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js index 522f4e49903df..3a190e2083cf6 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js @@ -1108,17 +1108,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), @@ -2294,10 +2299,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-rc-5d19e1c8-20240923", + version: "19.0.0-rc-04bd67a4-20240924", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-rc-5d19e1c8-20240923", + reconcilerVersion: "19.0.0-rc-04bd67a4-20240924", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.js index 473d7b4a3ae92..a2cab896a7f1b 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.js @@ -687,15 +687,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js index e174798a9bf2b..73103e5411e38 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js @@ -1316,17 +1316,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.js index f4c58a33d6d9c..435913724c14f 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.js @@ -850,15 +850,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js index d4f671cfaa6b6..0d03e46523530 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js @@ -1316,17 +1316,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js index 3c10208e7c61f..ebfb140491e98 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js @@ -851,15 +851,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js index 7f5599edc04df..9412fc82a4908 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js @@ -1582,6 +1582,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js index 68b64ae53f2b3..c8f8dcf3f6dd3 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js @@ -1437,6 +1437,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js index efb75849aa881..2de6917697524 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js @@ -1599,6 +1599,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js index aa3edfbddc7cd..c51b670753fc1 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js @@ -1442,6 +1442,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js index 3635441716a59..feaa02910e419 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js @@ -1615,6 +1615,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js index c856009746427..451412483fb86 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js @@ -1455,6 +1455,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/package.json b/packages/next/src/compiled/react-server-dom-turbopack/package.json index bd029e41b8b32..1121e770aaba4 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923" + "react": "19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js index 937a776e058ec..2bd490165c7cc 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js @@ -1097,17 +1097,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), @@ -2507,10 +2512,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-experimental-5d19e1c8-20240923", + version: "19.0.0-experimental-04bd67a4-20240924", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923", + reconcilerVersion: "19.0.0-experimental-04bd67a4-20240924", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.js index 5caae01c843af..5e9fb3131031a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.js @@ -698,15 +698,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js index e573d9bccfbff..9926673a9ce66 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js @@ -1301,17 +1301,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.js index 7d1248377cb4f..379be5588c48a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.js @@ -852,15 +852,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js index 8d881e0006140..26568ec942508 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js @@ -1301,17 +1301,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.js index 4e2c5f1552c6e..33b33c8e7a9d3 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.js @@ -853,15 +853,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js index b83ecf9d4f611..5c3b6d8a8e2fb 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js @@ -1276,17 +1276,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.js index 9bd60529c3603..0b46271364b46 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.js @@ -832,15 +832,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js index 2ce86b8cd6c77..adfd63037a303 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js @@ -1850,6 +1850,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js index 93b55a6c7774f..507f1bff591e6 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js @@ -1523,6 +1523,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js index 4df5553ac1f75..45f38a29e5243 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js @@ -1907,6 +1907,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js index 9d804423215f1..66cd986cb8b6f 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js @@ -1528,6 +1528,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js index cae7c350bac0e..60c33f50624a6 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js @@ -1903,6 +1903,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js index 97556d6677078..7342f80a6866b 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js @@ -1542,6 +1542,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js index bb4e5874c39fc..27c73a2b9b74a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -1903,6 +1903,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js index ea91b1fd97df0..c78253048b9e4 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js @@ -1542,6 +1542,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json index 0e610e256c190..531f7a3e1cbb2 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "0.0.0-experimental-5d19e1c8-20240923", - "react-dom": "0.0.0-experimental-5d19e1c8-20240923", + "react": "0.0.0-experimental-04bd67a4-20240924", + "react-dom": "0.0.0-experimental-04bd67a4-20240924", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js index e05286b6976a1..c2403106d61e9 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js @@ -1113,17 +1113,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), @@ -2307,10 +2312,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-rc-5d19e1c8-20240923", + version: "19.0.0-rc-04bd67a4-20240924", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-rc-5d19e1c8-20240923", + reconcilerVersion: "19.0.0-rc-04bd67a4-20240924", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.js index 3aeb36f755057..dbb05bff6351a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.js @@ -697,15 +697,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js index dfb1939cdaadb..128d518568bc7 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js @@ -1317,17 +1317,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.js index d932b5ec40950..d37850f831c83 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.js @@ -851,15 +851,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js index 1868544c9e076..76cde1d3f7ef2 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js @@ -1317,17 +1317,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.js index dba982993db33..50258515567f2 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.js @@ -852,15 +852,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js index cbde5bea52acf..52b18b183411f 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js @@ -1292,17 +1292,22 @@ } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && - null === handler.value && - (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + break; + case "4": + value._owner = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.js index 4a9d065c2846b..bfe9e0469a5a0 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.js @@ -831,15 +831,19 @@ function waitForReference( } value = value[path[i]]; } - parentObject[key] = map(response, value); - "" === key && null === handler.value && (handler.value = parentObject[key]); - parentObject[0] === REACT_ELEMENT_TYPE && - "3" === key && + i = map(response, value); + parentObject[key] = i; + "" === key && null === handler.value && (handler.value = i); + if ( + parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && - handler.value.$$typeof === REACT_ELEMENT_TYPE && - null === handler.value.props && - (handler.value.props = parentObject[key]); + handler.value.$$typeof === REACT_ELEMENT_TYPE + ) + switch (((value = handler.value), key)) { + case "3": + value.props = i; + } handler.deps--; 0 === handler.deps && ((i = handler.chunk), diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js index dfa52a2934125..736c01c78101c 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js @@ -1582,6 +1582,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js index e3caaf10b475c..9f8436e528cb2 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js @@ -1437,6 +1437,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js index 1d036dcaeb91d..4bb05c5c1b019 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js @@ -1599,6 +1599,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js index 77f4dce6c4782..3693cda7d9df4 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js @@ -1442,6 +1442,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js index ffbe637fc5f37..19bc1046a49c6 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js @@ -1615,6 +1615,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js index 4f4cec30a7112..a60144160e89e 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js @@ -1455,6 +1455,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js index fd7f79c0dc876..94042eac2e09a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -1615,6 +1615,9 @@ break; case "3": _existingReference = "props"; + break; + case "4": + _existingReference = "_owner"; } elementReference.set( value, diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js index 46533f22925d0..cf3c6c75cd473 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js @@ -1455,6 +1455,9 @@ function renderModelDestructive( break; case "3": existingReference = "props"; + break; + case "4": + existingReference = "_owner"; } elementReference.set(value, writtenObjects + ":" + existingReference); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/package.json b/packages/next/src/compiled/react-server-dom-webpack/package.json index 770ea93398082..9ff831e8ea3ff 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "19.0.0-rc-5d19e1c8-20240923", - "react-dom": "19.0.0-rc-5d19e1c8-20240923", + "react": "19.0.0-rc-04bd67a4-20240924", + "react-dom": "19.0.0-rc-04bd67a4-20240924", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react/cjs/react.development.js b/packages/next/src/compiled/react/cjs/react.development.js index 61ec3d426b287..96cc2c5a276d7 100644 --- a/packages/next/src/compiled/react/cjs/react.development.js +++ b/packages/next/src/compiled/react/cjs/react.development.js @@ -1516,7 +1516,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react/cjs/react.production.js b/packages/next/src/compiled/react/cjs/react.production.js index 565023ae300b6..a1ee85cbd29d1 100644 --- a/packages/next/src/compiled/react/cjs/react.production.js +++ b/packages/next/src/compiled/react/cjs/react.production.js @@ -536,4 +536,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/react/cjs/react.react-server.development.js b/packages/next/src/compiled/react/cjs/react.react-server.development.js index ca76e7626ecec..fde3a23080b94 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.development.js @@ -1113,5 +1113,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-rc-5d19e1c8-20240923"; + exports.version = "19.0.0-rc-04bd67a4-20240924"; })(); diff --git a/packages/next/src/compiled/react/cjs/react.react-server.production.js b/packages/next/src/compiled/react/cjs/react.react-server.production.js index 544cd20a5e461..47f2e2f6eeba8 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.production.js @@ -424,4 +424,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-rc-5d19e1c8-20240923"; +exports.version = "19.0.0-rc-04bd67a4-20240924"; diff --git a/packages/next/src/compiled/unistore/unistore.js b/packages/next/src/compiled/unistore/unistore.js index 5e9eb6e285ff8..c1cb15146983d 100644 --- a/packages/next/src/compiled/unistore/unistore.js +++ b/packages/next/src/compiled/unistore/unistore.js @@ -1 +1 @@ -(()=>{var t={768:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a{var t={565:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a Date: Wed, 25 Sep 2024 22:41:10 +0200 Subject: [PATCH 6/6] [Fiber] Fix missing render times when we cancel a pending commit --- .../cjs/react-dom-client.development.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index 240a94d7f070d..b002c84ebe257 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -14861,7 +14861,9 @@ spawnedLane, updatedLanes, suspendedRetryLanes, - SUSPENDED_COMMIT + SUSPENDED_COMMIT, + completedRenderStartTime, + completedRenderEndTime, ) ); markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);