next.js
9c0e5208 - Re-land "Vendor `react@experimental` under an `experimentalReact` flag" (#48041)

Commit
2 years ago
Re-land "Vendor `react@experimental` under an `experimentalReact` flag" (#48041) Reverts vercel/next.js#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 99c9b9e51f8b0d4e4503ece9d07bce09161f3341. I reproduced the error with next-site earlier and confirmed that this fix is good.
Author
Parents
Loading