mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
2a18d35301
This is a great validation, so let's enable by default. Changes: * Move the validation logic into ValidateUseMemo alongside the new check that the useMemo result is used * Update the lint description * Make the void memo errors lint-only, they don't require us to skip compilation (as evidenced by the fact that we've had this validation off)