mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
🌲 Separate flag for jsx compilation
Per discussion w @pieterv we'd like to have a mode where we compile JSX separately, so splitting this flag into two variants.
This commit is contained in:
@@ -104,6 +104,8 @@ const EnvironmentConfigSchema = z.object({
|
||||
|
||||
// 🌲
|
||||
enableForest: z.boolean().default(false),
|
||||
// <🌲>
|
||||
enableForestJsx: z.boolean().default(false),
|
||||
|
||||
/*
|
||||
* Enable memoization of JSX elements in addition to other types of values. When disabled,
|
||||
|
||||
@@ -423,6 +423,7 @@ const skipFilter = new Set([
|
||||
|
||||
// TODO: 🌲
|
||||
"forest-basic",
|
||||
"forest-basic-jsx",
|
||||
|
||||
// TODO: we probably want to always skip these
|
||||
"rules-of-hooks/rules-of-hooks-0592bd574811",
|
||||
|
||||
Reference in New Issue
Block a user