Skip to main content

React on Rails Documentation

For the best experience, visit our documentation website.

Browsing on GitHub? This guide will help you navigate the documentation.

Open Source (OSS)

The core React on Rails gem and npm package.

Learning Paths

New to React on Rails?

  1. Introduction - What is React on Rails and why use it?
  2. Quick Start - Get your first component running in 15 minutes
  3. Tutorial - Build a complete app with Redux and routing

Experienced developers:

Categories

Quick Reference

I want to...Go here
Add React to existing Rails appInstallation Guide
Enable server-side renderingSSR Guide
Set up hot reloadingHMR Setup
Use Redux with RailsRedux Integration
Use TanStack RouterTanStack Router Guide
Migrate to React Server ComponentsRSC Migration Guide
Deploy to productionDeployment Guide
Manage page metadata (title, meta)React 19 Native Metadata
Troubleshoot issuesTroubleshooting
Compare OSS vs Pro featuresOSS vs Pro
Compare with alternativesComparison with Alternatives

Pro

Performance enhancements, React Server Components, and advanced features. Requires a React on Rails Pro subscription (free or very low cost for startups and small companies).

Need Help?