GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Ensure `react-dom/client` is built in Codesandbox preview builds by eps1lon · Pull Request #30757 · react/react

Conversation

@eps1lon

@eps1lon eps1lon commented Aug 20, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Summary

react-dom/client wasn't usable in Codesandbox preview builds because we never built it. This used to work because the client APIs used to be exported from react-dom/index but now aren't so we need to explicitly list the entrypoint.

How did you test this change?

  • Codesandbox for this branch works: https://codesandbox.io/p/sandbox/fixed-react-preview-build-in-csb-t2t9gh?file=%2Fpackage.json

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@eps1lon
Ensure react-dom/client is built in Codesandbox preview builds
3aee977
@vercel

vercel Bot commented Aug 20, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2024 8:00pm
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Aug 20, 2024
@react-sizebot

react-sizebot commented Aug 20, 2024

Copy link
Copy Markdown

Comparing: 92d26c8e93a88ca41338d3509b4324ad19a89c1e...36dd945f195047618d4f4d7f16ad7f2756fb46de

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB +0.05% 1.82 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 500.37 kB 500.37 kB = 89.80 kB 89.80 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB +0.05% 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 507.50 kB 507.50 kB = 90.96 kB 90.96 kB
facebook-www/ReactDOM-prod.classic.js = 595.24 kB 595.24 kB = 105.55 kB 105.55 kB
facebook-www/ReactDOM-prod.modern.js = 571.54 kB 571.54 kB = 101.75 kB 101.75 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 3aee977

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vercel
vercel Bot deployed to Preview August 20, 2024 20:00
View deployment
kassens
kassens approved these changes Aug 20, 2024
View reviewed changes
@eps1lon
eps1lon merged commit 4c2dfb3 into react:main Aug 20, 2024
@eps1lon
eps1lon deleted the fix-csb branch August 20, 2024 20:12
@eps1lon eps1lon mentioned this pull request Aug 22, 2024
Update React from 1eaccd82-20240816 to eb3ad065-20240822 vercel/next.js#69196
Merged
eps1lon added a commit to vercel/next.js that referenced this pull request Aug 23, 2024
@eps1lon
Update React from 1eaccd82-20240816 to eb3ad065-20240822 (#69196)
6c09bd9
**breaking change for canary users: Bumps peer dependency of React from
`19.0.0-rc-1eaccd82-20240816` to `19.0.0-rc-eb3ad065-20240822`**

No changes required in Next.js it seems.

[diff
react/react@1eaccd82...eb3ad065](react/react@1eaccd8...eb3ad06)
<details>
<summary>React upstream changes</summary>

- react/react#30761
- react/react#30779
- react/react#30775
- react/react#30770
- react/react#30756
- react/react#30755
- react/react#30768
- react/react#30760
- react/react#30732
- react/react#30757
- react/react#30750
- react/react#30751
- react/react#30753
- react/react#30740
- react/react#30748
- react/react#30746
- react/react#30747
- react/react#30731
- react/react#30725
- react/react#30741
- react/react#30730
- react/react#30726
- react/react#30717
- react/react#30729
- react/react#30721
- react/react#30720
- react/react#30705

</details>
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@eps1lon
Ensure react-dom/client is built in Codesandbox preview builds (rea…
011098c
…ct#30757)

This branch was successfully deployed

1 active deployment
Preview — 3aee977c Deployed Aug 20, 2024 by vercel[bot]
View deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@kassens kassens kassens approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@eps1lon @react-sizebot @kassens @facebook-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.