mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
a59c9fc6bf
Two additional validations for useMemo: * Disallow reassigning to values declared outside the useMemo callback (always on) * Disallow unused useMemo calls (part of the validateNoVoidUseMemo feature flag, which in turn is off by default) We should probably enable this flag though!