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 May 13, 2026 (182 KB)
- 0.5.1 May 11, 2026 (90.5 KB)
- 0.4.0 May 11, 2026 (67 KB)
- 0.3.0 May 10, 2026 (49.5 KB)
- 0.2.0 May 10, 2026 (43.5 KB)