mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
This rule was a leftover from a while ago and doesn't actually lint anything useful. Specifically, you get a lint error if you try to opt out a component that isn't already bailing out. If there's a bailout the compiler already safely skips over it, so adding `'use no memo'` there is unnecessary. Fixes #31407 --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34703). * __->__ #34703 * #34700 |
||
|---|---|---|
| .. | ||
| ImpureFunctionCallsRule-test.ts | ||
| InvalidHooksRule-test.ts | ||
| NoAmbiguousJsxRule-test.ts | ||
| NoCapitalizedCallsRule-test.ts | ||
| NoRefAccessInRender-tests.ts | ||
| PluginTest-test.ts | ||
| ReactCompilerRuleTypescript-test.ts | ||
| shared-utils.ts | ||