mirror of
https://github.com/react/react.git
synced 2026-09-29 05:33:03 +08:00
Backports https://github.com/oxc-project/oxc/pull/26451 to the Rust React Compiler. Check component parameters before scanning for hooks or JSX, so functions with invalid component signatures skip the traversal. Component classification stays the same. Co-authored-by: Codex <noreply@openai.com>