shakacode/react_on_rails: Integration of React + Webpack + Rails including server-side rendering of React, enabling

3 phút đọc

shakacode/react_on_rails: Integration of React + Webpack + Rails including server-side rendering of React, enabling – Repository shakacode/react_on_rails. Mô tả: Integration of React + Webpack + Rails including server-side rendering of React, enabling a better developer experience and faster client performance.. 5192 stars, 629 forks, ngôn ngữ chính Ruby, cập nhật 2026-10-02.

1. Repository làm gì?

Documentation · Quick Start · Examples · Pro · Pricing

React on Rails integrates React into Ruby on Rails applications with Rails view helpers, server-side rendering, hot reloading, and automatic bundle generation.

This README is intentionally brief. For setup guides, architecture, API reference, upgrades, examples, and Pro features, use the main documentation site: reactonrails.com/docs.

React on Rails is maintained by ShakaCode.

These docs are for React on Rails 17. Historical docs and code are available for v15 (code), v14, v13, v12, and v11. See the upgrade guide before using v15 material.

Create a new React on Rails app:

shakacode/react_on_rails: Integration of React + Webpack + Rails including server-side rendering of React, enabling
Hình 1: Minh họa shakacode/react_on_rails: Integration of React + Webpack + Rails including server-side rendering of React, enabling

2. Dữ liệu và cấu trúc đáng chú ý

New apps default to React on Rails Pro for React 19.2 support. Use –standard only when you intentionally want an open-source-only setup.

Add React on Rails to an existing Rails app:

Render a component in any Rails view:

React on Rails Pro adds higher-throughput SSR and advanced rendering features on top of the open-source gem, including Node renderer support, streaming SSR, React Server Components, fragment caching, and TanStack Router SSR.

ShakaCode Trust-Based Commercial Licensing: React on Rails Pro is free in development, test, CI, and staging for everyone, and free in production for small organizations (under 10 people, under $1M revenue, under $1M raised) and for charities, schools, and hospitals at any size. Larger organizations subscribe for production use at pro.reactonrails.com: $1,800 per year covers the whole organization. No license key is needed to run it; a key from your subscription only marks your pages Licensed. See the license.

Bug reports and pull requests are welcome. Start with CONTRIBUTING.md and the help wanted issues.

Suspected security vulnerabilities should be reported privately. See SECURITY.md for the disclosure process and supported version policy. Please do not open a public issue for security reports.

3. Khả năng ứng dụng và giới hạn

React on Rails is available as open source under the terms of the MIT License.

React on Rails Pro is offered under The React on Rails Pro License, an application of ShakaCode Trust-Based Commercial Licensing. TL;DR: free in development, test, CI, and staging for everyone; free in production for organizations under 10 people, $1M revenue, and $1M raised, and for charities, schools, and hospitals at any size. Otherwise a subscription: $1,800 per year covers your whole organization. No license key is needed to run it. Questions: contact@shakacode.com.

Thanks to the companies supporting ShakaCode's open-source work.

Số liệu repository có thể thay đổi; nên mở liên kết nguồn để kiểm tra README, giấy phép và trạng thái phát hành.

Nguồn tham khảo: Xem bài gốc

📅 Âm: 4/10 · Canh Dần

📅 Lịch Âm Dương NsN

×
Hôm Nay · Thứ Năm
Âm Lịch: 4 Tháng 10
Năm Bính Ngọ
📌 Can Chi: Canh Dần
✨ Hoàng Đạo: Tý (23-1), Sửu (1-3), Thìn (7-9), Tỵ (9-11), Mùi (13-15), Tuất (19-21)
Vĩnh Phúc (Liên Bảo - Vĩnh Yên)
31°C
Nắng Đẹp
💧 83% | 💨 18 km/h
Hôm nay 32°
02/11 28°
03/11 30°
04/11 31°
05/11 31°