Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Vendor react@experimental under an experimentalReact flag" #48038

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Apr 6, 2023

x-ref: slack thread

Reverts #47759
fix NEXT-926

@linear
Copy link

linear bot commented Apr 6, 2023

@ijjk ijjk merged commit 9448913 into canary Apr 6, 2023
101 checks passed
@ijjk ijjk deleted the revert-47759-shuding/next-926-add-an-experimental-flag-to-switch-to branch April 6, 2023 18:48
shuding added a commit that referenced this pull request Apr 6, 2023
shuding added a commit that referenced this pull request Apr 8, 2023
…g" (#48041)

Reverts #48038

fix NEXT-926

---

The root cause was that when copying the package.json, I removed all
fields except for a few (such as `exports`) but missed the `browser`
field. That caused the client bundle to resolve to the Node.js version
of React DOM, and then we had the `async_hooks` error. Added it back in
99c9b9e.

I reproduced the error with next-site earlier and confirmed that this
fix is good.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants