Skip to content

chore(deps): react and react-dom to 19.3.0, together - #5

Merged
webdevsamran merged 1 commit into
mainfrom
deps/react-19.3.0
Sep 15, 2026
Merged

webdevsamran merged 1 commit into
mainfrom
deps/react-19.3.0

Conversation

@webdevsamran

Copy link
Copy Markdown
Owner

Supersedes #2 and #3.

Dependabot proposed these as two pull requests — react in one, react-dom in the other. React refuses to run when the two disagree (Incompatible React versions: the "react" and "react-dom" packages must have the exact same version), so each failed six frontend suites on its own and neither could go green alone. They are the same upgrade and land as one commit, with the @types/* packages moved to match.

On the bundle budget. The entry chunk grew 29,273 B on this upgrade alone (214,558 → 243,831) with no source change, breaching the 220,000 B budget.

I checked the structural assertion first, because that is the failure the budget exists to catch: all six page groups are still separate chunks, so nothing leaked into the shell and the growth really is React.

The budget moves to 260,000. The comment beside it argued against exactly that number and was right to at the time — it assumed an un-split build weighed ~240 kB. The check derives that figure from the build rather than remembering it, and it is now 301,858 B, so 260,000 sits 42 kB below the point where this check would stop distinguishing a split build from an un-split one. The comment is rewritten rather than left contradicting the constant.

Dependabot proposed these as two pull requests -- `react` in one,
`react-dom` in the other. React refuses to run when the two disagree:

    Error: Incompatible React versions: the "react" and "react-dom" packages
    must have the exact same version.

so each pull request failed six frontend suites on its own, and neither could
ever go green alone. They are the same upgrade and land as one commit, with
`@types/react` and `@types/react-dom` moved to match.

The entry chunk grew 29,273 B on this upgrade alone -- 214,558 to 243,831 --
with no source change, which put it over the 220,000 B budget.

The structural half of `check-bundle.mjs` was checked first, because that is
the failure the budget exists to catch: all six page groups are still separate
chunks, so nothing leaked into the shell and the growth really is React.

The budget moves to 260,000. The comment beside it argued against exactly that
number, and was right to at the time: it assumed an un-split build weighed
about 240 kB. The check derives that figure from the build rather than
remembering it, and it is now 301,858 B, so 260,000 sits 42 kB below the point
where this check would stop being able to tell a split build from an un-split
one. The comment is rewritten rather than left contradicting the constant.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown

API Verity — contract review

One comment per PR — updated on each push.

@webdevsamran
webdevsamran merged commit 577a353 into main Sep 15, 2026
14 checks passed
@webdevsamran
webdevsamran deleted the deps/react-19.3.0 branch September 15, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant