From 2ca614cb4f25166d7e4ac054e78331c4084a1ef0 Mon Sep 17 00:00:00 2001 From: Sathya Gunasekaran Date: Fri, 23 Jun 2023 14:36:56 +0530 Subject: [PATCH] [playground] Sync playground flags to Store experiment flags --- compiler/forget/apps/playground/components/Editor/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/forget/apps/playground/components/Editor/index.tsx b/compiler/forget/apps/playground/components/Editor/index.tsx index 18943b10a2..5c7767452c 100644 --- a/compiler/forget/apps/playground/components/Editor/index.tsx +++ b/compiler/forget/apps/playground/components/Editor/index.tsx @@ -123,7 +123,7 @@ function compile(source: string): CompilerOutput { const firstLine = source.substring(0, source.indexOf("\n")); let memoizeJsxElements = true; - let enableAssumeHooksFollowRulesOfReact = true; + let enableAssumeHooksFollowRulesOfReact = false; let enableTreatHooksAsFunctions = true; let disableAllMemoization = false; let validateRefAccessDuringRender = true;