Skip to main content

Examples and References

Use this page as the canonical index for public React on Rails reference repos. If you are starting a new app, do not start by comparing example repos. Start with the CLI:

npx create-react-on-rails-app my-app

New apps use React on Rails Pro by default because Pro is where React 19.2 feature support lives. The repos below are references for learning, validation, demos, migrations, and talks.

Start Here

GoalUse
Create a new appnpx create-react-on-rails-app my-app
Study the current Pro app shapeshakacode/react-on-rails-starter-tanstack
Show the React 19.2-era product storyMarketplace RSC Performance Demo
Study a complete Rails CRUD baselineFlagship Task Board Demo
Study migration from react-railsreact-rails Migration References

Current Pro References

These are the references to use for new product, adoption, and template discussions.

React on Rails Pro TanStack Starter

Marketplace RSC Performance Demo

  • Repo: shakacode/react-on-rails-demo-marketplace-rsc
  • Live demo and evidence: see the repo README for Lighthouse reports, bundle-size breakdowns, and the demo itself.
  • Use it when you want a public performance-oriented demo showing the user-visible win on a marketplace-style surface.

Hacker News RSC Demo

Gumroad-Style RSC Benchmark Demo

  • Repo: shakacode/react-on-rails-demo-gumroad-rsc
  • Use it when you want a benchmark-oriented comparison between an Inertia-style surface and a React on Rails Pro surface on the same product domain.
  • Note: this is a ShakaCode-built demo modeled on a Gumroad-style UI, not an official Gumroad product or integration.

Octochangelog RSC Demo

Other Public References

Use these when you need a public baseline app, tutorial companion, or migration reference.

Flagship Task Board Demo

  • Repo: shakacode/react-on-rails-demo-flagship
  • Use it when you want a clone-and-run Rails CRUD reference app: ActiveRecord-backed task board, server-side rendering, React, TypeScript, Redux Toolkit, and Shakapacker + Rspack.
  • This repo is a product-style baseline for the Pro demos. Check the repo README for its current stack before describing it publicly.
  • Two run modes: bin/dev for local development and docker compose up for a deterministic container boot; bin/smoke verifies the server-rendered HTML and exits non-zero if SSR fails.

SSR + HMR Tutorial Demo

react-rails Migration References

For migration guidance, see Migrating from react-rails.