reactjs/react-rails
Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4787
- days_rel: n/a
- days_push: 33
- n_releases_24m: 0
Adoption not part of the score
6776 stars · 739 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Ruby gem that integrates React.js into Ruby on Rails applications, supporting server-side and client-side rendering with views, controllers, and asset pipelines like Sprockets, Propshaft, and Shakapacker. It allows writing React components in JSX, ES6, TypeScript, or CoffeeScript within Rails projects.
Use cases
- render React components inside Rails views
- server-side render React in a Rails app
- use JSX with the Rails asset pipeline
- mount React components via Sprockets or Shakapacker
- add React to an existing Rails monolith
- wire React components to Rails controllers and props
When to choose
- you have an existing Rails app and want to add React components incrementally
- you use Sprockets, Propshaft, or Shakapacker and want React integration
- you need simple server-side rendering of React within Rails views
When to avoid
- you are starting a new project and want active development and modern React features like Server Components - prefer React on Rails
- you need a dedicated Node-based rendering pipeline with TypeScript support
- your frontend is a separate SPA not embedded in Rails views
Facets
library · maturity maintenance
ssr templating frontend-framework middleware web-development frontend developer-tools ruby react rails ruby-gem server-side-rendering jsx webpacker sprockets shakapacker nodejs web-server
1 source
- readme: https://github.com/reactjs/react-rails · fetched 2026-08-28 · e0382e89d7a9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| reactjs/react-rails | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="reactjs/react-rails")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem