react/compiler
mofeiZ 5f31228d7d
[compiler][playground] Upgrade to Next 15.2.0-canary.64 (#32428)
Upgrade compiler playground to use the newest nextjs release, which
includes react compiler transform pipeline optimizations
https://github.com/vercel/next.js/pull/75676/.

Also made a drive-by fix to avoid the error `Cannot update a component
('Router') while rendering a different component ('StoreProvider'). To
locate the bad setState() call inside 'StoreProvider', follow the stack
trace as described in https://react.dev/link/setstate-in-render`. The
bad setState came from `history.replaceState({}, '', \`#${hash}\`);`.

Prior to this, playground ran side effects in a reducer (i.e. during
render). These have now been moved an effect.
2025-02-20 12:28:34 -05:00
..
apps/playground [compiler][playground] Upgrade to Next 15.2.0-canary.64 (#32428) 2025-02-20 12:28:34 -05:00
docs [compiler][be] Remove unused experimental Rust port 2025-01-24 12:23:31 -08:00
fixtures [cleanup] Remove compiler runtime-compat fixture library (#31430) 2024-11-05 14:14:39 -05:00
packages [compiler] remove invariant to account for backedges (#32417) 2025-02-19 16:22:53 -05:00
scripts [compiler] Switch to esbuild (#31963) 2025-01-02 16:59:56 -05:00
.eslintrc.js [compiler:codegen] Wrap non-ascii characters in JsxExpressionContainer 2024-06-21 10:08:15 -04:00
.gitignore [.gitignore] Add bundle script 2024-04-16 14:41:13 +01:00
package.json [compiler] Upgrade esbuild (#32368) 2025-02-12 11:59:56 -05:00
README.md Update readme and other docs 2024-05-06 14:53:47 -07:00
yarn.lock [compiler] Upgrade esbuild (#32368) 2025-02-12 11:59:56 -05: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.