Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 845 Bytes

File metadata and controls

25 lines (20 loc) · 845 Bytes

React on Rails Migration Example

This repository is a migrated version of ganchdev/react-rails-example, converted from react-rails to react_on_rails.

Requirements

  • Ruby 3.1+
  • Node.js 18+
  • Yarn 1.x

What This Demonstrates

  • Migrating from react-rails to react_on_rails
  • shakapacker-based client and server bundles
  • React component registration and SSR setup
  • Development process options via bin/dev

Quick Start

  1. bundle install
  2. yarn install
  3. bin/rails db:prepare
  4. bin/dev
  5. Visit http://localhost:3000/hello_world

Notes

  • This app is intentionally minimal and focused on migration outcomes.
  • Generated React on Rails files are kept in-repo so users can inspect exact changes after migration.