hotwire-rails VS Stimulus

Compare hotwire-rails vs Stimulus and see what are their differences.

Stimulus

A modest JavaScript framework for the HTML you already have (by hotwired)
Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
hotwire-rails Stimulus
98 111
960 12,429
- 0.6%
3.2 6.8
over 2 years ago about 19 hours ago
Ruby TypeScript
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.

hotwire-rails

Posts with mentions or reviews of hotwire-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-08.

Stimulus

Posts with mentions or reviews of Stimulus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.
  • Turbo Streaming Modals in Ruby on Rails
    4 projects | dev.to | 27 Mar 2024
    I also recommend checking out the docs for Stimulus and Turbo to familiarise yourself with all their features and the APIs used in this series.
  • Google: Angular and Wiz Are Merging
    3 projects | news.ycombinator.com | 21 Mar 2024
    Any tips on preparing to work with Wiz as an incoming intern. I heard its identical to Stimulus: https://stimulus.hotwired.dev/
  • How to integrate Component Architecture into Symfony?
    2 projects | dev.to | 15 Mar 2024
    use Stimulus
  • Build Drag and Drop with Rails Hotwire
    4 projects | dev.to | 10 Sep 2023
    With Stimulus, you've got a powerful tool to take your app's interactivity up a notch. For even more awesome features and Stimulus wizardry, check out the Stimulus Documentation.
  • Supercharge your Stimulus controllers with Custom APIs
    2 projects | dev.to | 27 Jul 2023
    The next version of Stimulus makes it easier to access parts of the private API thanks to my pull request.
  • Why are you still using jQuery?
    2 projects | /r/webdev | 14 Jul 2023
    I like Stimulus, it was a bit pushed by Symfony with their ux thing.
  • What's your favorite micro frontend framework?
    2 projects | /r/webdev | 23 Jun 2023
    Sure, something like https://github.com/hotwired/stimulus
  • Dusting off my rails knowledge, need some tips / guidance on rails 7 and production
    10 projects | /r/rails | 7 Apr 2023
    source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "3.1.0" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.0.4", ">= 7.0.4.2" # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails] gem "sprockets-rails" # Use sqlite3 as the database for Active Record gem "sqlite3", "~> 1.4" # Use the Puma web server [https://github.com/puma/puma] gem "puma", "~> 5.0" # Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails] gem "importmap-rails" # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev] gem "turbo-rails" # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev] gem "stimulus-rails" # Build JSON APIs with ease [https://github.com/rails/jbuilder] gem "jbuilder" gem "mongoid" gem "mongoid-grid_fs" gem 'bootstrap', '~> 5.2.2' #sourced from https://github.com/twbs/bootstrap-rubygem gem 'rack-cors' # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false
  • Configure Stimulus with esbuild and Babel — Rails & Javascript
    7 projects | dev.to | 26 Feb 2023
    Stimulus: A modest JavaScript framework for the HTML you already have.
  • Laravel Ecommerce Tutorial: Part 4, Managing Product Categories
    3 projects | dev.to | 22 Jan 2023
    This will create the obliterate controller in resources/js/controllers/obliterate_controller.js . If you have no idea what a stimulus controller is, checkout the stimulus homepage, it should have everything you need to know. Also checkout the hotwired stack's homepage

What are some alternatives?

When comparing hotwire-rails and Stimulus you can also consider the following projects:

htmx - </> htmx - high power tools for HTML

SvelteKit - web development, streamlined

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

Svelte - Cybernetically enhanced web apps

phoenix_live_view - Rich, real-time user experiences with server-rendered HTML

inertia-laravel - The Laravel adapter for Inertia.js.

stimulus_reflex - Build reactive applications with the Rails tooling you already know and love.

turbo-rails - Use Turbo in your Ruby on Rails app

jsbundling-rails - Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.

htmx-demo - Very simple demonstration of the use of htmx with Spring Boot and Thymeleaf.