jsx_rosetta is a JSX-to-Rails translator. It parses JSX via Babel (over a Node sidecar), lowers the parsed AST into a framework-agnostic semantic IR, and emits target output via pluggable backends. The initial backend produces ViewComponent classes paired with ERB templates; additional backends (Phlex, Slim, Phoenix LiveView, etc.) can be added against the same IR.
Required Ruby Version
>= 3.2.0
Authors
Sean McCleary
Versions
-
0.6.0
-
source
- 0.6.0 source May 13, 2026 (182 KB)
-
-
0.5.1
-
source
- 0.5.1 source May 11, 2026 (90.5 KB)
-
-
0.4.0
-
source
- 0.4.0 source May 11, 2026 (67 KB)
-
-
0.3.0
-
source
- 0.3.0 source May 10, 2026 (49.5 KB)
-
-
0.2.0
-
source
- 0.2.0 source May 10, 2026 (43.5 KB)
-