Last 12 weeks · 155 commits
5 of 6 standards met
Summary Fixes #37270. A recursive function declared inside a / callback (e.g. ) was being flagged with a false-positive "Missing dependency " because the self-reference resolved through the inner function's captured context. The fix seeds the inner function's set in with any capture whose name matches the function's own . The existing local-filter path in dependency collection then ignores the self-reference at visit time — no post-processing needed. This mirrors how function parameters are already seeded as locals in the same block. Test plan [x] New fixture covers both and with a recursive and asserts as the only inferred dep. [x] Runtime confirms behavior is preserved end-to-end. [x] Without the fix, the same fixture reports — the exact bug in the issue. [x] passes.
Repository: react/react. Description: The library for web and native user interfaces. Stars: 247216, Forks: 51239. Primary language: JavaScript. Languages: JavaScript (49.5%), Rust (25.9%), TypeScript (22.4%), HTML (1%), CSS (0.8%). License: MIT. Homepage: https://react.dev Topics: declarative, frontend, javascript, library, react, ui. Latest release: v19.2.8 (3w ago). Open PRs: 100, open issues: 1143. Last activity: 8h ago. Community health: 100%. Top contributors: sebmarkbage, zpao, gaearon, acdlite, sophiebits, josephsavona, poteto, eps1lon, jimfb, trueadm and others.