We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afec26e commit 2c8eff5Copy full SHA for 2c8eff5
packages/plugin-rsc/src/core/rsc.ts
@@ -47,11 +47,6 @@ export function setRequireModule(options: {
47
))
48
}
49
return new Proxy(target, {
50
- get(_target, name, _receiver) {
51
- // not thennable
52
- if (typeof name !== 'string' || name === 'then') return
53
- return getOrCreateClientReference(name)
54
- },
55
// React 19.2.1+ uses hasOwnProperty.call() to check for exports
56
// https://github.com/facebook/react/pull/35277
57
getOwnPropertyDescriptor(_target, name) {
0 commit comments