Summary: Rough proposal on how we can differentiate between the a real setState we can track and one we infer. Particularly useful when setting `enableTreatSetIdentifiersAsStateSetters=true` This is mainly so ValidateNoDerivedComputationsInEffects_exp doesn't introduce false positives since we rely on setState type tracking Test Plan: Tests
React Compiler
React Compiler is a compiler that optimizes React applications, ensuring that only the minimal parts of components and hooks will re-render when state changes. The compiler also validates that components and hooks follow the Rules of React.
More information about the design and architecture of the compiler are covered in the Design Goals.
More information about developing the compiler itself is covered in the Development Guide.