dillon1000/react

Commit

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
Browse files
Changed paths2 files
First-parent comparison
M compiler/packages/babel-plugin-react-forget/src/CompilerError.ts ModifiedM compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…