Commit 7aaeb26
committed
Keep Pro dummy app with Babel, only use SWC in spec/dummy
- Revert react_on_rails_pro/spec/dummy back to Babel transpiler
- Remove SWC config from Pro dummy app
- Update documentation to clarify only spec/dummy uses SWC
- Pro app stays with Babel for RSC stability
This provides a safer migration path where standard React on Rails apps
can benefit from SWC's 20x performance improvement, while Pro apps with
React Server Components maintain stability with Babel until SWC RSC
support matures.1 parent e29600d commit 7aaeb26
File tree
3 files changed
+7
-33
lines changed- docs
- react_on_rails_pro/spec/dummy/config
3 files changed
+7
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
206 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
This file was deleted.
0 commit comments