Ruby on Rails
react-on-rails
| Ruby on Rails | react-on-rails | |
|---|---|---|
| 554 | 12 | |
| 57,994 | 5,199 | |
| 0.3% | 0.2% | |
| 10.0 | 9.8 | |
| 4 days ago | 4 days ago | |
| Ruby | Ruby | |
| MIT License | MIT License |
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.
Ruby on Rails
- Django 6 Released
Django needs a marketing push. I opened the website and immediately it smells like a 2011 web framework. Like CakePHP. Like Zend. Like Kohana.
The site makes the project feel extremely dated, which of course I have no idea how true that is, I've never used Django! Just my 2c from an outsider.
I compare it to Phoenix and Rails. (again, talking PURELY marketing here dudes!)
https://www.phoenixframework.org/
https://rubyonrails.org/
- Bazzite: The next generation of Linux gaming
- Rails 7.1 Framework Defaults 🚧
Previous value: nil New value: false Purpose: To understand the impact of enabling this particular flag I had to go through some PRs on rails official repo and came across the following PR. The description of which provides an important hint towards a bug that exists with the deprecated behavior of comparing AC::Parameters with a Hash
- Friendly Attributes Pattern in Ruby
- Rails 8.1 Released
- Ruby on Rails 8.1 Released
- When AI Moved Into My Editor: Faster… and Weirdly Slower
From there, I went into a long phase of copy & paste: throw code at an LLM, ask it to analyze or rewrite, and stitch the result back in. It kind of worked. When reasoning models arrived, my confidence went up: wait a minute, wait three—freshly baked code appears. In Rails, that meant small adjustments and I was done. In Marten, I had to correct more, which made sense — newer framework, less model knowledge.
- Use singular nouns for database table names
> they often automatically pluralize, with the predictable result of seeing tables with names like addresss.
This is a very poor example, that case is literally in their unit tests file:
https://github.com/rails/rails/blob/b0c813bc7b61c71dd21ee3a6...
- Rails 8.1 Beta
Full list of changes:
https://github.com/rails/rails/releases/tag/v8.1.0.beta1
- How to Choose the Right Tech Stack for Your SaaS MVP
Ruby on Rails (developer-friendly, great for startups)
react-on-rails
- Integrating Ruby on Rails with Modern SPAs
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.
- Rewrite It in Rails
React plus Rails is my favorite modern combo. Development bliss.
https://github.com/shakacode/react_on_rails
- React + Ruby on Rails without any gems
One is to add a gem: react-rails or react_on_rails for example. But there is a way to have a simple integration without using these gems.
- Considering moving from NextJS to Rails
You should take a look at https://github.com/shakacode/react_on_rails. I created that repo back in 2015 and it's still going strong. Popmenu.com uses it and we've got 5,000 restaurant chains on the Rails monolith and huge traffic and transaction volume. Check out the html source of a popmenu site, like https://110grill.com. You'll see react-on-rails in the source.
- Spent the past week learning Stimulus and Hotwire - you don't need it, you can do the same thing with jQuery
It's me, Justin, the guy the started React on Rails and React on Rails Pro many years ago! I'll be following this thread!
- Best project setup for Rails+React with "remember me" feature
The problem is I have no idea how to implement the "remember me" feature in that gem without just making the tokens not refresh for a very long time (I think that would be a security concern). So then I looked more into react_on_rails to just use sessions with Devise as a normal rails app, but I don't know if I'll be able to deploy that on AWS because of the changes I have to do to the webpacker/webpack config to allow for a better folder structure. I've never done that so I don't know if there may be any issues.
- Frontend based access control?
I have a production level Ruby on Rails app that is slowly transitioning from pure Rails with JS sprinkles to a Rails backend and React frontend kind of situation using React on Rails.
- How to create a project with both .erb and react? Do I use webpack=react?
- Does anyone know a way to make a React with Rails application SEO friendly?
https://github.com/shakacode/react_on_rails - It was last updated 2 months ago & can do prerendering. I'm not sure why more people aren't suggesting this.
- React Frontend vs Hotwire
https://github.com/shakacode/react_on_rails use this instead. It's maintained and preferred nowadays
What are some alternatives?
Cuba - Rum based microframework for web development.
react-d3-library - Open source library for using D3 in React
Roda - Routing Tree Web Toolkit
elm-react-component
Sinatra - Classy web-development dressed in a DSL (official / canonical repo)
reactfire - Hooks, Context Providers, and Components that make it easy to interact with Firebase.