Install
bundle add react_on_railsReact + Rails, production-first
Keep Rails conventions, add modern React features, and scale with SSR, streaming, and React Server Components.
bundle add react_on_railsrails generate react_on_rails:install<%= react_component(...) %>Canonical markdown stays in react_on_rails/docs. This site fetches that content at build time, so docs remain co-located with the code while the site can ship independently.
React on Rails lets us run React at scale inside Rails without the complexity of a separate frontend deployment. ShakaCode's implementation optimized the framework for our specific workload, delivering 97% Good LCP scores and 80% faster hydration across our platform.