[forest] Turn off jsx memoization

This commit is contained in:
Sathya Gunasekaran
2023-09-01 11:24:19 +01:00
parent 9b037118c5
commit 403881c548
@@ -220,9 +220,11 @@ export function* run(
value: reactiveFunction,
});
pruneNonEscapingScopes(reactiveFunction, {
memoizeJsxElements: config?.memoizeJsxElements ?? true,
});
let memoizeJsxElements = config?.memoizeJsxElements ?? true;
if (config?.enableForest) {
memoizeJsxElements = false;
}
pruneNonEscapingScopes(reactiveFunction, { memoizeJsxElements });
yield log({
kind: "reactive",
name: "PruneNonEscapingDependencies",