A: React on Rails uses a dual licensing structure:
-
MIT Licensed (Free & Open Source):
react_on_railsRuby gemreact-on-railsNPM package- Core functionality is completely free
-
ShakaCode Trust-Based Commercial Licensing (Paid License Required for Production):
react_on_rails_proRuby gemreact-on-rails-proNPM packagereact-on-rails-pro-node-rendererNPM package- Advanced features can be evaluated without a token; production deployments require a paid license
A: The Pro packages are public:
- Ruby: Install the
react_on_rails_progem (it depends onreact_on_rails) - JavaScript: Install and import from
react-on-rails-proinstead ofreact-on-rails
Important: Pro users should import from react-on-rails-pro, not react-on-rails. The Pro package re-exports all core features plus Pro-exclusive functionality:
// Correct for Pro users
import ReactOnRails from 'react-on-rails-pro';See the Installation Guide for details.
A: The monorepo has clear directory-based license boundaries:
react_on_rails/ (monorepo root)
├── react_on_rails/ # MIT Licensed (core Ruby gem)
├── react_on_rails_pro/ # Pro Licensed (Pro Ruby gem)
├── packages/
│ ├── react-on-rails/ # MIT Licensed
│ ├── react-on-rails-pro/ # Pro Licensed
│ └── react-on-rails-pro-node-renderer/ # Pro Licensed
└── LICENSE.md # Documents which directories use which license
See LICENSE.md for the authoritative list of which directories fall under which license.
A: React on Rails Pro is offered under ShakaCode Trust-Based Commercial Licensing. A paid license is required for production deployments that use Pro features, including:
- Server-side rendering optimizations
- Advanced caching strategies
- React Server Components support
- Node.js rendering process management
- Premium support and consultation
See REACT-ON-RAILS-PRO-LICENSE.md for complete Pro license terms.
A: Yes! Under ShakaCode Trust-Based Commercial Licensing, no license token is required for:
- Evaluation and local development
- Test environments and CI/CD pipelines
- Staging and other non-production deployments
- Educational, tutorial, and demonstration use
Production use requires a paid production license.
A: Yes! Under the MIT license, you can freely modify any MIT-licensed files (those outside the Pro-licensed directories). However:
- Permitted: Modifying MIT-licensed code for your own purposes
- Not Permitted: Using those modifications to access Pro features without a valid license
- Distinction: The MIT license grants you modification rights, but the Pro License restricts unauthorized use of Pro features
A: Contributors should be aware of license boundaries:
- MIT areas: Anyone can contribute freely
- Pro areas: Contributions require agreement that improvements become part of the Pro offering
- License compliance: Never move Pro code into MIT-licensed directories
For directory-level details and developer guidelines, see DIRECTORY_LICENSING.md.