Files
react/compiler
Joe Savona 00f0db31fe [compiler] Fix for false positive mutation of destructured spread object
When destructuring, spread creates a new mutable object that _captures_ part of the original rvalue. This new value is safe to modify.

When making this change I realized that we weren't inferring array pattern spread as creating an array (in type inference) so I also added that here.
2025-07-24 14:38:42 -07:00
..
2025-03-13 11:45:26 -04:00
2025-04-14 15:15:14 -04:00
2025-05-02 13:56:01 -04:00

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.