dillon1000/react
Commit
Browse files Add new ErrorSeverity.CannotPreserveMemoization
This adds a new category of error where the compiler cannot preserve memoization exactly how as it was originally authored. We're adding a new category here because it's not an actionable error, and allows us to more specifically control whether it's reportable or not. ghstack-source-id: 9693cd42ca64b980248c6202091bdd4c827e1cd4 Pull Request resolved: https://github.com/facebook/react-forget/pull/2824
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/CompilerError.ts ModifiedM compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…