shakacode/react_on_rails

Integration of React + Webpack + Rails including server-side rendering of React, enabling a better developer experience and faster client performance.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 50 minutes ago
Added to GitGenius on September 13th, 2026
Created on August 20th, 2015
Open Issues & Pull Requests: 102 (-1)
GitHub issues: Enabled
Number of forks: 629
Total Stargazers: 5,189 (+0)
Total Subscribers: 68 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 20.8 hours
Mean response time: 12.4 days
90th percentile: 16.8 days
Tracked items: 1,444

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 1% of open issues come from outside the core team — the tracker reads mainly as internal planning. Almost all tracked open issues have seen activity in the last three months. Only 12% of issues opened in the past year have been closed. Three people close 97% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 78
New in 7 days: 19
Closed in 7 days: 16
Avg open age: 59 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 14
Closed in 7 days: 14
Comments in 7 days: 2
Events in 7 days: 3

Top labels

  • Metr-Pending (298)
  • enhancement (245)
  • P2 (179)
  • P3 (170)
  • bug (151)
  • documentation (143)
  • P1 (121)
  • performance-regression (95)

Detailed Description

React on Rails is a Ruby gem that integrates React into Ruby on Rails applications with server-side rendering, hot reloading, and automatic bundle generation.

The tool solves the problem of embedding React components within Rails views while maintaining a unified application architecture. It provides Rails view helpers that render React components directly in views, supports server-side rendering to improve initial page load performance, and handles automatic bundling through Shakapacker. Developers can write React components and invoke them from Rails templates without splitting the application into separate frontend and backend services.

Teams building Rails applications that want to adopt React should consider React on Rails if they prefer keeping a monolithic Rails app rather than maintaining separate frontend and API services. The tool suits projects where React components need to coexist with traditional Rails views and where server-side rendering is valuable for performance or SEO. The README identifies alternatives and notes that React on Rails offers a Rails-oriented approach to SSR in its open-source version, with a Pro tier available for Node-rendered SSR, streaming SSR, and React Server Components support. Existing Rails applications can add React on Rails incrementally, and new applications can be scaffolded with it from the start.

The project maintains comprehensive documentation covering setup, architecture, API reference, and upgrade paths across multiple historical versions. Development activity shows sustained maintenance with a changelog tracking updates and an upgrade guide addressing version transitions. The maintainers provide both open-source and commercial Pro offerings, indicating ongoing investment in the project's evolution and support infrastructure.