mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
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) --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34882). * #34855 * __->__ #34882 |
||
|---|---|---|
| .. | ||
| ImpureFunctionCallsRule-test.ts | ||
| InvalidHooksRule-test.ts | ||
| NoAmbiguousJsxRule-test.ts | ||
| NoCapitalizedCallsRule-test.ts | ||
| NoRefAccessInRender-tests.ts | ||
| PluginTest-test.ts | ||
| ReactCompilerRuleTypescript-test.ts | ||
| shared-utils.ts | ||