@samitouri / QOS-React / commits / 6efbc0897f

[playground] Use default compiler config (#32009)

The playground's compilation mode is currently set to 'all' along with reporting all errors. This tends to be misleading since people usually expect a 1:1 match between how the playground works with what the compiler does in their codebase, eg https://github.com/reactwg/react-compiler/discussions/51.

lauren committed Jan 7, 2025 at 11:53 UTC 6efbc0897f08d688c614baa205f1e1625b3a7c83
1 file changed -2
compiler/apps/playground/components/Editor/EditorImpl.tsx
-2
@@ -78,8 +78,6 @@ function invokeCompiler(
78 logEvent: () => {},
79 },
80 environment,
81 - compilationMode: 'all',
82 - panicThreshold: 'all_errors',
81 });
82 const ast = parseInput(source, language);
83 let result = transformFromAstSync(ast, source, {