Skip to content

Commit

Permalink
[playground] Use default compiler config (#32009)
Browse files Browse the repository at this point in the history
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 reactwg/react-compiler#51.
  • Loading branch information
poteto authored Jan 7, 2025
1 parent 7b40208 commit 6efbc08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/apps/playground/components/Editor/EditorImpl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ function invokeCompiler(
logEvent: () => {},
},
environment,
compilationMode: 'all',
panicThreshold: 'all_errors',
});
const ast = parseInput(source, language);
let result = transformFromAstSync(ast, source, {
Expand Down

0 comments on commit 6efbc08

Please sign in to comment.