documentation
Write Rails.
Ship React.
React components, called from the ERB views you already write. Pick where you are starting from — every path ends with a component on a page your Rails app served.
Where are you starting from?
01 · new appA Rails app from scratchSeven steps, one terminal. The timed run reaches the page in 37.0 s of machine time.Getting started →02 · existing appAdd it to the app you haveView by view. Every other page keeps its layout, Turbo and Stimulus.Progressive migration →03 · evaluatingIs it the right fit?Against Hotwire, Inertia.js and Next.js over a Rails API — trade-offs included.Why ruact →04 · coding agentYou are an AI agentThe
AGENTS.md the install writes, llms.txt, and the shipped context an agent needs.AI tools & agents →Core conceptsERB as Server ComponentsThe “use client” directiveThe Flight wire formatClient-side navigation
✓ code checked by CILook for this mark. On a page that carries it, every code block that names a file is a byte-for-byte excerpt of a runnable example in the repository, and CI fails when the page and its example drift apart.