mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
0d0f7c2ad1
CannotPreserveMemoization We do need to fix the error location to point to the "callsite" rather than the definition of the useMemo callback, but that aside, even if the error message were perfect, it's not meant to be actionable to the user. So let's change the severity to CannotPreserveMemoization. This preserves the validation, but the eslint plugin won't report it. ghstack-source-id: 722c88922884de05e89030a7b001bd93e0a2a114 Pull Request resolved: https://github.com/facebook/react-forget/pull/2825