swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/react-compiler): Scope ClassStaticBlock and TsModuleBlock as var boundaries
magic-akari:fix/react-compiler-scope
5 hours ago
feat(swc): gate react compiler re-export (#11941) **Description:** Add a non-default `react-compiler` feature to the `swc` crate. The feature enables an optional `swc_ecma_react_compiler` dependency and exposes it as `swc::react_compiler`. Expose `base_react_compiler` from `swc_core` so `swc_core` users can opt into the same `swc` base API path without changing the existing `ecma_react_compiler` raw re-export feature. Validation run: - `cargo fmt --all` - `cargo check -p swc --no-default-features` - `cargo check -p swc --no-default-features --features react-compiler` - `cargo check -p swc_core --no-default-features --features base` - `cargo check -p swc_core --no-default-features --features base_react_compiler` - `cargo test -p swc_core` - `cargo clippy --all --all-targets -- -D warnings` Note: `cargo test -p swc` was also run, but the existing `tests/source_map.rs::issue_622` fixture failed under Node v24.14.0 with `sourcemap-validator` reporting `There were no mappings in the file`. **BREAKING CHANGE:** The users using `swc` crate should enable the feature to get the react compiler working.
main
16 hours ago
chore: add react compiler feature changeset
kdy1/swc-react-compiler-feature
16 hours ago
fix(swc): enable react compiler in shipped builds
kdy1/swc-react-compiler-feature
19 hours ago
chore: merge main into react compiler feature branch
kdy1/swc-react-compiler-feature
21 hours ago
fix(es/react-compiler): skip TypeScript `this` pseudo-params in scope collector (#11940) TypeScript allows `function f(this: T) {}` to declare the type of this inside a function body. To swc, this looks like a real parameter. The scope collector was registering it as a binding, causing the compiler to emit an unexpected "reserved word" diagnostic for any hook containing a function with a TS-annotated `this` param. This returns early, specifically when the ident name is "this".
main
21 hours ago
chore: Add changeset for React Compiler TS this params
wbinnssmith:wbinnssmith/typed-this-react-compiler
21 hours ago
Wizard run
22 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/react-compiler): Scope ClassStaticBlock and TsModuleBlock as var boundaries
#11943
6 hours ago
accc1ad
magic-akari:fix/react-compiler-scope
CodSpeed Performance Gauge
0%
feat(swc): gate react compiler re-export
#11941
16 hours ago
da445f5
kdy1/swc-react-compiler-feature
CodSpeed Performance Gauge
+2%
fix(es/react-compiler): skip TypeScript `this` pseudo-params in scope collector
#11940
21 hours ago
0bc101b
wbinnssmith:wbinnssmith/typed-this-react-compiler
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs