Webpacker VS turbo-rails

Compare Webpacker vs turbo-rails and see what are their differences.

Webpacker

Use Webpack to manage app-like JavaScript modules in Rails (by rails)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Webpacker turbo-rails
57 49
5,300 2,172
-0.1% 1.0%
2.9 8.6
7 months ago about 1 month 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.

Webpacker

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

turbo-rails

Posts with mentions or reviews of turbo-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-06.
  • The Future of Htmx
    28 projects | news.ycombinator.com | 6 Jan 2025
    I do think "use HTMX" is a tough sell for a 800 employee company, just because it doesn't really solve issues on it's own. (Imagining the pitch is "add HTMX to an existing project") Going all-in on hypermedia definitely means the service that serves your application needs to more than just a JSON parrot. Templating HTML and sending the right chunks back is hard to do if those services aren't built around being hypermedia services.

    I really like turbo-rails [0] (the ruby gem that Rails 7+ bundles in for turbo support, meaning helpers that make turbo frames/responses a native "thing" rails understands) because it's a complete solution. There's at least some obvious structure to build off of, and I'm not stuck trying to build up my own framework on the BE for my newly simpler FE.

    django-htmx also fits in this case too. I feel like any honest pitch of HTMX should involve some BE solution as well.

    [0] https://github.com/hotwired/turbo-rails

  • Can't get Rails 7 turbo_stream_from to update view from broadcast
    2 projects | /r/rails | 11 May 2023
    The install notes here link to an issue specific to webpacker. Try that and see if it works?
  • Strong reasons to pick htmx, over hotwire?
    1 project | /r/rails | 7 May 2023
    True, in theory it is. A lot of it is coded in libraries like turbo-rails, though. And these are Rails-specific. But I've seen it being used in some Laravel projects, also I used it with Hanami.
  • Rails 7 - Turbo Frame and Turbo Stream
    2 projects | /r/rails | 21 Apr 2023
    Check out https://github.com/hotwired/turbo-rails/blob/main/app/models/turbo/streams/tag_builder.rb
  • Use turbo_streams to update the client in real time from inside a loop?
    1 project | /r/rails | 7 Apr 2023
    So apart from the pretty obvious question of "why on earth would you want to do this?", I think there's a misunderstanding here of the intended use case of turbo streams. You have a page, and then some state changes on the server and you want to update the page to reflect that. Incrementing a variable doesn't really qualify as a state change, but perhaps a Product changing from "not good" to "good" would be an event worth broadcasting, which you could do using the Broadcastable concern in turbo-rails.
  • Where do I start for learning "HTML over the wire"
    2 projects | /r/rails | 31 Mar 2023
    Use this too: https://github.com/hotwired/turbo-rails
  • Using ViewComponents with Turbo
    1 project | /r/rails | 24 Mar 2023
    Not mentioned in the article, but it's nice that turbo-rails recently gained the ability to pass ViewComponent objects directly to turbo stream helpers. https://github.com/hotwired/turbo-rails/pull/433
  • is turbo and stimulus compatible with rails 4 ?
    1 project | /r/rails | 14 Mar 2023
  • Turbo-Rails just got better
    3 projects | /r/rails | 1 Mar 2023
    Release notes: https://github.com/hotwired/turbo-rails/releases/tag/v1.4.0
  • Live Visit Count for website or page. ActionCable, Turbo Broadcasts, Kredis
    1 project | dev.to | 15 Feb 2023
    turbo/streams_channel.rb - a way to link a turbo stream with an ActionCable channel.

What are some alternatives?

When comparing Webpacker and turbo-rails you can also consider the following projects:

Sass - Sass makes CSS fun!

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

Compass - Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.

Stimulus - A modest JavaScript framework for the HTML you already have

Asset Sync - Synchronises Assets between Rails and S3

Turbolinks - Turbolinks makes navigating your web application faster

Sprockets

view_component - A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

Autoprefixer - Autoprefixer for Ruby and Ruby on Rails

sprockets - Rack-based asset packaging system

shakapacker - Use Webpack to manage app-like JavaScript modules in Rails

hotwire-tabs

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured