New app
Starting a new Rails + React app
Use the CLI-backed happy path, get to a working app quickly, and customize from a clean baseline.
Create a new appReact on Rails documentation
Choose the path that matches your app first. Then add SSR, streaming, RSC, migration, or Pro support only when you actually need it.
Recommended first run
npx create-react-on-rails-app@latest my-app
cd my-app
bin/rails db:prepare
bin/devExisting-app install, migration, and Pro upgrade paths stay on equal footing in the docs. This is just the cleanest first run.
Choose your path
New app
Use the CLI-backed happy path, get to a working app quickly, and customize from a clean baseline.
Create a new appExisting app
Keep the Rails app you already have, install React on Rails, and render components without rebuilding the stack.
Install into an existing appUpgrade
See what Pro adds, how the upgrade works, and where higher-throughput SSR or RSC support fits.
Compare OSS and ProEvaluate
Compare React on Rails with Hotwire/Turbo, Inertia Rails, and react-rails before you dive into migration details.
Compare the optionsRecommended flow
Recommended for new projects
Start with one working path before you branch into deeper configuration.
npx create-react-on-rails-app@latest my-appFollow the new-app guideFor mature Rails apps
Install React on Rails into an existing codebase, keep your routes, and add components incrementally.
bundle exec rails generate react_on_rails:install --typescriptUse the install guideWhen OSS is no longer enough
Pro is an upgrade tier, not a separate product. Add it when you need more SSR throughput or guided support.
bundle add react_on_rails_proReview the upgrade pathMigration and evaluation
Use the new evaluator guide first, then branch into concrete migration docs if React on Rails is the right fit.
Open guideMove from `react-rails` with guidance for both Webpacker-era apps and newer Vite-style setups.
Open guideStart with the preflight that surfaced real `pg`, `nio4r`, and `mysql2` blockers before applying the current upgrade steps.
Open guideOpen the public apps used to validate the migration and upgrade docs with concrete examples.
Open guideProduction feedback
React on Rails lets us run React at scale inside Rails without the complexity of a separate frontend deployment. ShakaCode's implementation optimized the framework for our specific workload, delivering 97% Good LCP scores and 80% faster hydration across our platform.