react-on-rails
Ruby on Rails
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
react-on-rails | Ruby on Rails | |
---|---|---|
9 | 457 | |
5,007 | 53,968 | |
0.2% | 0.5% | |
0.0 | 9.9 | |
8 days ago | 2 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.
react-on-rails
-
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.
-
React Frontend vs Hotwire
https://github.com/shakacode/react_on_rails use this instead. It's maintained and preferred nowadays
- Hotwire: the new evolution of Turbolinks from Basecamp
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
React on Rails is an integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance. 4,558 stars by now
Ruby on Rails
-
Jets: The Ruby Serverless Framework
I think that you're conflating correlation with causation. I think it's more plausible to assume it was the early numbers that are skewed and non-representative.
The fact that GitHub itself was is a killer app of the Ruby on Rails, and that the Rails project itself changed to being hosted on GitHub somewhat very early on it's history [1] had a disproportionate effect on the early community that gathered there.
Now GitHub attracts a much more diverse portfolio of projects, so the numbers you see there are less statistically biased towards early Ruby on Rails adopters.
[1] Commit history on the main branch of rails/rails via github goes as far as Apr 10, 2008 https://github.com/rails/rails/commit/c67e985994362290308073...
-
understanding Rails version maintenance policy?
Done! https://github.com/rails/rails/pull/50295
releaseCycle: "6.1" releaseDate: 2020-12-09 eol: 2024-06-01 # https://github.com/rails/rails/pull/46895#issuecomment-1673353127 latest: "6.1.7.6" latestReleaseDate: 2023-08-22
You might have luck. It does look like docs changes are being accepted into 7.1-stable branch: https://github.com/rails/rails/commits/7-1-stable/
-
Rage: Fast web framework compatible with Rails
Also this doesn't show how database access is handled which is the hard part. If you are not touching the database, you can run Rails on falcon and get fiber based concurrency.
If you run falcon on rails and access database, then you have to explicitly checkin/checkout a connection to be safe. Details here - https://github.com/rails/rails/issues/42271.
-
HTML Data Attributes: One of the Original State Management Libraries
DEV is a Rails monolith, which uses Preact in the front-end using islands architecture. The reason why I mention all this is that it's not a full-stack JavaScript application, and there is no state management library like Redux or Zustand in use. The data store, for the most part on the front end, is all data attributes.
-
New gem providing a production viable PostgreSQL adapter for ActionCable
I made a PR to fix it, but this may take some time to get merged. Meanwhile I released a gem which can be used straight away: https://github.com/reclaim-the-stack/actioncable-enhanced-postgresql-adapter/
- Mastering Rails Web Navigation with link_to and button_to Helpers - Part 2
- Почему я программирую на Ruby
-
Rails 7.1 Released
1. You are correct for upload, but not for download. Looks like rails 7 added support for presigned urls: https://blog.saeloun.com/2021/09/14/rails-7-adds-expiring-ur...
2. CDN support is via monkey patch: https://github.com/rails/rails/issues/44136
3. yep
4. yep
What are some alternatives?
Roda - Routing Tree Web Toolkit
Hanami - The web, with simplicity.
react-rails - Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
Sinatra - Classy web-development dressed in a DSL (official / canonical repo)
Cuba - Rum based microframework for web development.
yjit - Optimizing JIT compiler built inside CRuby
Padrino - Padrino is a full-stack ruby framework built upon Sinatra.
Code_behind - Code-behind library is back-end mvc framework for ASP.NET Core. This library is a programming model based on the MVC pattern, which provides the possibility of creating dynamic aspx files (similar to .NET standard) in .NET Core and has high serverside independence.
Django - The Web framework for perfectionists with deadlines.
Syro - Simple router for web applications
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness