react/compiler/packages/react-compiler-runtime
Mike Vitousek ec6fe57a50 [compiler] rfc: Include location information in identifiers and reactive scopes for debugging
Summary: Using the change detection code to debug codebases that violate the rules of react is a lot easier when we have a source location corresponding to the value that has changed inappropriately. I didn't see an easy way to track that information in the existing data structures at the point of codegen, so this PR adds locations to identifiers and reactive scopes (the location of a reactive scope is the range of the locations of its included identifiers).

I'm interested if there's a better way to do this that I missed!

ghstack-source-id: aed5f7edda
Pull Request resolved: https://github.com/facebook/react/pull/29658
2024-05-31 14:06:04 -07:00
..
src [compiler] rfc: Include location information in identifiers and reactive scopes for debugging 2024-05-31 14:06:04 -07:00
package.json [publish] Fix files field for packages, invalid version range 2024-05-14 11:02:29 -04:00
rollup.config.js Rename react-compiler-runtime 2024-05-02 17:14:26 -07:00
tsconfig.json Rename react-compiler-runtime 2024-05-02 17:14:26 -07:00