Home

facebook/react

Status:Indexed
Analyzed 3d ago240K+ starsJavaScript

The library for web and native user interfaces.

Back to Issues
#35319
Moderate

[Compiler Bug]: Cannot reassign component props

View on GitHub

Summary

The React Compiler incorrectly optimizes code where component props are reassigned within a callback function. The fix involves analyzing the compiler's output and logic to correctly handle such prop reassignment scenarios, ensuring the generated code behaves as expected.

Skills Required

JavaScriptReact Compiler InternalsStatic AnalysisTesting

Labels

Type: BugStatus: Unconfirmed