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.
globalThis
1 parent 91bcd58 commit 292b642Copy full SHA for 292b642
1 file changed
compiler/packages/react-compiler-runtime/src/index.ts
@@ -16,7 +16,7 @@ const ReactSecretInternals =
16
17
type MemoCache = Array<number | typeof $empty>;
18
19
-const $empty = Symbol.for('react.memo_cache_sentinel');
+const $empty = globalThis.Symbol.for('react.memo_cache_sentinel');
20
21
// Re-export React.c if present, otherwise fallback to the userspace polyfill for versions of React
22
// < 19.
0 commit comments