Sinatra
Classy web-development dressed in a DSL (official / canonical repo) (by sinatra)
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. (by shakacode)
Our great sponsors
Sinatra | react-on-rails | |
---|---|---|
10 | 9 | |
12,088 | 5,047 | |
0.1% | 0.4% | |
8.4 | 7.3 | |
21 days ago | 12 days ago | |
Ruby | Ruby | |
MIT License | 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.
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.
Sinatra
Posts with mentions or reviews of Sinatra.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-07.
-
How to Use Sinatra to Build a Ruby Application
Compared to Ruby on Rails, a full-stack web framework, Sinatra is a very lean micro-framework originally developed by Blake Mizerany to help Ruby developers build applications with "minimal effort".
-
Ruby on Rails VS Hanami - a user suggested alternative
3 projects | 11 Aug 2021
Sinatra is the oldest competitor of Rails. Although it's not that popular anymore, it's still used in some simple and performance focused services.
-
Does Anyone use Sinatra in Production?
Sinatra is fine as long as you have a small number of routes, because its router is O(n): https://github.com/sinatra/sinatra/blob/ac5404dbd897a4b3c5b3921d2f89fecd3b540ed3/lib/sinatra/base.rb#L1008-L1010
-
Hacktoberfest: 69 Beginner-Friendly Projects You Can Contribute To
https://github.com/sinatra/sinatra A classy web-development dressed in a DSL (official / canonical repo)
react-on-rails
Posts with mentions or reviews of react-on-rails.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-30.
-
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
What are some alternatives?
When comparing Sinatra and react-on-rails you can also consider the following projects:
Hanami - The web, with simplicity.
Roda - Routing Tree Web Toolkit
react-rails - Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
Ruby on Rails - Ruby on Rails
Padrino - Padrino is a full-stack ruby framework built upon Sinatra.
Cuba - Rum based microframework for web development.
Camping - the 5k pocket full-of-gags web microframework
rack-app - minimalist framework for building rack applications
backbone-react-component - A bit of nifty glue that automatically plugs your Backbone models and collections into your React components, on the browser and server
Pakyow - Design-First Web Framework