mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
ad8f19675c
Infer if a function is a component or hook when we're deciding to compile a function and store that in the environment. This is used in passes like InferReferenceEffects rather than having to re-parse the name in each pass.