From b62834cda2a72576fc8220de2f00bfd532c23e92 Mon Sep 17 00:00:00 2001 From: Tyler Williams Date: Tue, 11 Mar 2025 10:52:48 -0400 Subject: [PATCH 1/2] fix: clarify what mobx libs are not compatible with compiler --- compiler/packages/react-compiler-healthcheck/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/packages/react-compiler-healthcheck/src/config.ts b/compiler/packages/react-compiler-healthcheck/src/config.ts index 8f25776f489cf..ef574b1af0b4a 100644 --- a/compiler/packages/react-compiler-healthcheck/src/config.ts +++ b/compiler/packages/react-compiler-healthcheck/src/config.ts @@ -1,3 +1,3 @@ export const config = { - knownIncompatibleLibraries: ['mobx', '@risingstack/react-easy-state'], + knownIncompatibleLibraries: ['mobx-react', 'mobx-react-lite', '@risingstack/react-easy-state'], }; From c97bdbe6d19da575f19b90d1ed727f8579365a53 Mon Sep 17 00:00:00 2001 From: Tyler Williams Date: Tue, 11 Mar 2025 10:58:23 -0400 Subject: [PATCH 2/2] chore: prettier --- compiler/packages/react-compiler-healthcheck/src/config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler/packages/react-compiler-healthcheck/src/config.ts b/compiler/packages/react-compiler-healthcheck/src/config.ts index ef574b1af0b4a..9655d2654b8b9 100644 --- a/compiler/packages/react-compiler-healthcheck/src/config.ts +++ b/compiler/packages/react-compiler-healthcheck/src/config.ts @@ -1,3 +1,7 @@ export const config = { - knownIncompatibleLibraries: ['mobx-react', 'mobx-react-lite', '@risingstack/react-easy-state'], + knownIncompatibleLibraries: [ + 'mobx-react', + 'mobx-react-lite', + '@risingstack/react-easy-state', + ], };