Skip to main content

Examples, demos, and migration references

Use the maintained public repos when you evaluate React on Rails.

This catalog exists to make adoption easier: choose the path that matches your app, use the current example repos, and ignore historical artifacts unless you are doing archaeology.

Start with the right path

Choose the guide that matches your evaluation or migration goal.

Starter path

Start a new Rails + React app

Use the create-app and quick-start docs first, then compare the maintained starter repos for SSR + HMR or React on Rails Pro + RSC.

Open starter docs

Migration path

Move from react-rails

Use the migration guide together with the maintained migration reference repos instead of reconstructing the process from older blog posts.

Use the migration guide

Pro path

Evaluate React on Rails Pro + RSC

Start with the OSS vs Pro guide, then use the public RSC demos to judge where the added complexity pays for itself.

Compare OSS and Pro

Starters

Current starting points

These are the best public repos to start from when you want a maintained reference instead of a historical artifact.

SSR + HMR tutorial demo

react_on_rails_demo_ssr_hmr

Maintained Rails + React + SSR + HMR tutorial repo. This is the reference behind the tutorial and Webpack customization guidance.

OSSSSRHMR
Open repository

React on Rails Pro + RSC starter

react-on-rails-rsc-demo

Minimal public sample for React Server Components with React on Rails Pro. Use this when you want the smallest current RSC starting point.

ProRSCStarter
Open repository

Migrations

Adoption and migration references

Use these when your question is not “how do I start?” but “how do I move an existing app?”

react-rails migration example

react-on-rails-migration-example

Focused migration reference showing the shape of moving from react-rails into React on Rails.

OSSMigration
Open repository

Open Flights migration example

react-on-rails-open-flights-example

Larger migration reference that shows React on Rails replacing react-rails in a more realistic app.

OSSMigrationApp
Open repository

React on Rails Pro

RSC and performance demos

These public demos use React on Rails Pro and React Server Components. Reach for them when the conversation is about measured user-visible wins.

Hacker News RSC demo

react-on-rails-hn-rsc-demo

Compact public demo of React on Rails Pro + React Server Components on a familiar read-heavy UI.

ProRSCDemo
Open repository

Marketplace RSC performance demo

react-server-components-marketplace-demo

Public performance-oriented RSC demo showing the shape of the user-visible improvement on a marketplace-style surface.

ProRSCPerformance
Open repository

Legacy

Historical full-app reference

This repo is still useful when you want to see an older production-style app, but it is no longer the recommended starting point for new work.

react-webpack-rails-tutorial

react-webpack-rails-tutorial

Older full-app reference with a live demo at reactrails.com. Keep this for historical context rather than as the primary starter.

LegacyFull App
Open repository

Source of truth

Use the docs for taxonomy and this page for curation.

The canonical docs page for repo taxonomy lives in Examples and migration references. This page is the marketing-forward catalog of the public repos we want people to find first.