Skip to content

Conversation

rickhanlonii
Copy link
Member

@rickhanlonii rickhanlonii commented Oct 1, 2025

Hopefully fixes #8034

Copy link

github-actions bot commented Oct 1, 2025

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@rickhanlonii
Copy link
Member Author

well, that doesn't work

@rickhanlonii rickhanlonii reopened this Oct 1, 2025
@rickhanlonii rickhanlonii merged commit f9fd07c into reactjs:main Oct 1, 2025
10 checks passed
@rickhanlonii
Copy link
Member Author

This is a total hack, it looks like sandpack is resolving to the wrong versions. Like if you put 19.2.0 in the deps, it uses some random canary version. The hack is to do:

import { unstable_Activity, Activity as ActivityStable} from 'react'; 
let Activity = ActivityStable ?? unstable_Activity;

Until we figure out how to fix sandpack.

@rickhanlonii rickhanlonii deleted the 192fixes branch October 1, 2025 23:25
gaearon added a commit that referenced this pull request Oct 1, 2025
@CompuIves
Copy link
Contributor

I'm looking at this now. Will try to repro it on my side and see what we need to fix to resolve 19.2 correctly!

eps1lon pushed a commit that referenced this pull request Oct 2, 2025
* Fix Activity sandboxes

* hacky fix
eps1lon pushed a commit that referenced this pull request Oct 2, 2025
rickhanlonii added a commit that referenced this pull request Oct 2, 2025
* Use stable release in demos with HTML output

* Fix Activity sandboxes (#8035)

* Fix Activity sandboxes

* hacky fix

* Revert "Fix Activity sandboxes (#8035)"

This reverts commit f9fd07c.

* Bump to 19.2

* cleanup rest of sandpacks

* Pin deps

* Add back package.json with third-party deps

* "^" should be fixed now

* add back package.json for more toastify deps

* fuggin whitespace

* more fuggin whitespace

* fml like fr fr

---------

Co-authored-by: Sebastian Sebbie Silbermann <sebastian.silbermann@vercel.com>
Co-authored-by: Ricky <rickhanlonii@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@meta.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: <Activity /> doc page / 19.2.x examples crashing.
2 participants