-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51183 from software-mansion-labs/fix/compiler-fas…
…t-refresh [NoQA] Use official react-compiler-runtime package + fix fast refresh not refreshing components on mobile
- Loading branch information
Showing
73 changed files
with
166 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
...20240625+002+enable-ref-identifiers.patch → ...20241020+002+enable-ref-identifiers.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
diff --git a/node_modules/react-compiler-healthcheck/dist/index.js b/node_modules/react-compiler-healthcheck/dist/index.js | ||
index 4bf23db..fa2ab22 100755 | ||
index 460339b..17b0f96 100755 | ||
--- a/node_modules/react-compiler-healthcheck/dist/index.js | ||
+++ b/node_modules/react-compiler-healthcheck/dist/index.js | ||
@@ -69088,6 +69088,9 @@ const COMPILER_OPTIONS = { | ||
compilationMode: "infer", | ||
panicThreshold: "critical_errors", | ||
logger: logger, | ||
@@ -56902,6 +56902,9 @@ const COMPILER_OPTIONS = { | ||
noEmit: true, | ||
compilationMode: 'infer', | ||
panicThreshold: 'critical_errors', | ||
+ environment: { | ||
+ enableTreatRefLikeIdentifiersAsRefs: true, | ||
+ }, | ||
logger: logger, | ||
}; | ||
function isActionableDiagnostic(detail) { | ||
switch (detail.severity) { | ||
diff --git a/node_modules/react-compiler-healthcheck/src/checks/reactCompiler.ts b/node_modules/react-compiler-healthcheck/src/checks/reactCompiler.ts | ||
index 09c9b9b..d2418e0 100644 | ||
index 3094548..fd05b76 100644 | ||
--- a/node_modules/react-compiler-healthcheck/src/checks/reactCompiler.ts | ||
+++ b/node_modules/react-compiler-healthcheck/src/checks/reactCompiler.ts | ||
@@ -51,6 +51,9 @@ const COMPILER_OPTIONS: Partial<PluginOptions> = { | ||
compilationMode: "infer", | ||
panicThreshold: "critical_errors", | ||
logger, | ||
@@ -50,6 +50,9 @@ const COMPILER_OPTIONS: Partial<PluginOptions> = { | ||
noEmit: true, | ||
compilationMode: 'infer', | ||
panicThreshold: 'critical_errors', | ||
+ environment: { | ||
+ enableTreatRefLikeIdentifiersAsRefs: true, | ||
+ }, | ||
logger, | ||
}; | ||
|
||
function isActionableDiagnostic(detail: CompilerErrorDetailOptions) { |
Oops, something went wrong.