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 1460d67 commit 3f29a7fCopy full SHA for 3f29a7f
compiler/packages/react-compiler-runtime/src/index.ts
@@ -36,14 +36,6 @@ export function c(size: number) {
36
})[0];
37
}
38
39
-export function $read(memoCache: MemoCache, index: number) {
40
- const value = memoCache[index];
41
- if (value === $empty) {
42
- throw new Error('useMemoCache: read before write');
43
- }
44
- return value;
45
-}
46
-
47
const LazyGuardDispatcher: {[key: string]: (...args: Array<any>) => any} = {};
48
[
49
'readContext',
0 commit comments