react-rails VS inertia-rails

Compare react-rails vs inertia-rails and see what are their differences.

react-rails

Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker. (by reactjs)
SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
react-rails inertia-rails
23 8
6,758 869
-0.0% 2.9%
6.8 9.1
9 months ago 15 days ago
JavaScript Ruby
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

react-rails

Posts with mentions or reviews of react-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-22.

inertia-rails

Posts with mentions or reviews of inertia-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-22.
  • Integrating Ruby on Rails with Modern SPAs
    6 projects | dev.to | 22 Apr 2025
    Compared to gems like React on Rails or Intertia Rails, the current gem is just an installer and does virtually nothing to modify or add features to React Router. This is a great advantage and ensures that frontend developers will feel right at home.
  • Why Ruby on Rails still matters
    14 projects | news.ycombinator.com | 21 Feb 2025
    Any thoughts on Inertia.js, which seems like a good solution for React + Rails? Feels like you can have your cake and eat it too.

    https://github.com/inertiajs/inertia-rails

  • Ruby 3.4.0 Released
    15 projects | news.ycombinator.com | 25 Dec 2024
    Agreed re asset pipelines. I definitely have Webpacker related scar tissue.

    Have you tried either Inertia (https://github.com/inertiajs/inertia-rails) or vite-ruby (https://vite-ruby.netlify.app/)? Both look very promising.

  • Inertia.js – Build React, Vue, or Svelte apps with server-side routing
    9 projects | news.ycombinator.com | 6 Sep 2024
    The React example is 2 years old but doesn't look that different than what I would do today: https://github.com/BrandonShar/inertia-rails-template

    The rails adapter is up to date, sponsored: https://github.com/inertiajs/inertia-rails?tab=readme-ov-fil...

  • Seeking Advice: Built a Successful Website on Rails, Facing Partnership Dilemma and Considering Switching to Laravel
    1 project | /r/rubyonrails | 29 May 2023
    I'm assuming your friend's comment about React/Laravel is referring to Inertia.js, which is a commonly used library in the Laravel community. If thats the case, Inertia is also available for Rails: https://github.com/inertiajs/inertia-rails
  • React inside Rails App
    2 projects | /r/rails | 24 Mar 2023
    I'd like to recommend Inertia.js. it essentially adds JavaScript frameworks as a view layer and seamlessly hands data off from your controllers to your react components. You don't need to maintain an API or set up GraphQL. It can be added to your project alongside your existing views. I've been using it for a few projects and I love it.
  • Setup Inertia and Svelte on Rails-7
    2 projects | dev.to | 20 Sep 2022
    Svelte is handled as a competetitor of react. It es easier to learn, no virtual dom. Together with inertia-rails its well connected to the backend and you can use the rails-router. JavaScript and html are together in a .svelte file.
  • From Rails + jQuery app to Rails API + Frontend Framework.
    4 projects | /r/rails | 19 May 2021
    Here's an example app using [Vue.js in Rails](: https://github.com/ElMassimo/pingcrm-vite), which uses Inertia.js to provide a SPA-like experience. What's nice about it is that you could try it in a single page/endpoint, and will still integrate nicely with the rest of your application.

What are some alternatives?

When comparing react-rails and inertia-rails you can also consider the following projects:

inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

listen - The Listen gem listens to file modifications and notifies you about the changes.

react-on-rails - Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.

pingcrm-vite - ⚡️ PingCRM on Vite Rails - A Vite.js + Inertia.js + Vue SSR + Rails demo

hotwire-livereload - Live reload gem for Hotwire Rails apps.

hotwire-rails - Use Hotwire in your Ruby on Rails app

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?