-
Notifications
You must be signed in to change notification settings - Fork 29k
Closed
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.lockedplease verify canaryPlease verify the issue with the latest canary branch.Please verify the issue with the latest canary branch.
Description
Verify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000
Binaries:
Node: 16.15.0
npm: 8.5.5
Yarn: 1.22.18
pnpm: N/A
Relevant packages:
next: 13.2.3
eslint-config-next: 13.2.2
react: 18.2.0
react-dom: 18.2.0
### Which area(s) of Next.js are affected? (leave empty if unsure)
_No response_
### Link to the code that reproduces this issue
https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template?file=%2FREADME.md&selection=%5B%7B%22endColumn%22%3A1%2C%22endLineNumber%22%3A8%2C%22startColumn%22%3A1%2C%22startLineNumber%22%3A8%7D%5D
### To Reproduce
1. Use experimental `appDir`
2. Use experimental `runtime: experiment-edge`
Notice that ReactDOM exports:
{
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: [Getter],
createPortal: [Getter],
flushSync: [Getter],
preinit: [Getter],
preload: [Getter],
version: [Getter],
default: [Getter]
}
This is missing other exports that ReactDom exports such as `unstable_batchedUpdates`
### Describe the Bug
ReactDOM missing certain exports when edge runtime is enabled.
### Expected Behavior
ReactDOM exports should be the same
### Which browser are you using? (if relevant)
_No response_
### How are you deploying your application? (if relevant)
_No response_
codebycarlos, mrzachnugent, septem1997, madi-tracksuit, loeck and 10 more
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.lockedplease verify canaryPlease verify the issue with the latest canary branch.Please verify the issue with the latest canary branch.